[haiku-commits] haiku: hrev53358 - src/servers/bluetooth

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 10 Aug 2019 13:57:30 -0400 (EDT)

hrev53358 adds 1 changeset to branch 'master'
old head: 6a739773fceb43d72a2314eafb465d301ae36310
new head: 95901dc145e2104d82c61fb9b38760dd15ec24d1
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=95901dc145e2+%5E6a739773fceb

----------------------------------------------------------------------------

95901dc145e2: Bluetooth replicant: fix memory leak.
  
  Change-Id: I4587fc9c0d981bafd38e0f517f6ef60a8cae7fec
  Reviewed-on: https://review.haiku-os.org/c/1696
  Reviewed-by: Jérôme Duval <jerome.duval@xxxxxxxxx>

                             [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev53358
Commit:      95901dc145e2104d82c61fb9b38760dd15ec24d1
URL:         https://git.haiku-os.org/haiku/commit/?id=95901dc145e2
Author:      Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date:        Tue Aug  6 18:01:19 2019 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Sat Aug 10 17:57:28 2019 UTC

----------------------------------------------------------------------------

1 file changed, 2 insertions(+)
src/servers/bluetooth/DeskbarReplicant.cpp | 2 ++

----------------------------------------------------------------------------

diff --git a/src/servers/bluetooth/DeskbarReplicant.cpp 
b/src/servers/bluetooth/DeskbarReplicant.cpp
index ea4881c346..faafee1fe0 100644
--- a/src/servers/bluetooth/DeskbarReplicant.cpp
+++ b/src/servers/bluetooth/DeskbarReplicant.cpp
@@ -184,6 +184,8 @@ DeskbarReplicant::MouseDown(BPoint where)
        menu->SetTargetForItems(this);
        ConvertToScreen(&point);
        menu->Go(point, true, true, true);
+
+       delete menu;
 }
 
 


Other related posts:

  • » [haiku-commits] haiku: hrev53358 - src/servers/bluetooth - waddlesplash