Bluetooth replicant: fix memory leak.
Change-Id: I4587fc9c0d981bafd38e0f517f6ef60a8cae7fec Reviewed-on: https://review.haiku-os.org/c/1696 Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
6a739773fc
commit
95901dc145
@@ -184,6 +184,8 @@ DeskbarReplicant::MouseDown(BPoint where)
|
||||
menu->SetTargetForItems(this);
|
||||
ConvertToScreen(&point);
|
||||
menu->Go(point, true, true, true);
|
||||
|
||||
delete menu;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user