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:
Adrien Destugues
2019-08-10 17:57:28 +00:00
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;
}