Tracker: Fix memory leak

Change-Id: I2fa8e9e87d1097cfc358cc3653240aeac6efb910
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6485
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Zardshard
2023-05-31 16:32:50 +00:00
committed by waddlesplash
parent ca40d4ab5c
commit 0e86ca77e7
+3
View File
@@ -780,6 +780,9 @@ BContainerWindow::Quit()
delete fDragContextMenu; delete fDragContextMenu;
fDragContextMenu = NULL; fDragContextMenu = NULL;
delete fTrashContextMenu;
fTrashContextMenu = NULL;
int32 windowCount = 0; int32 windowCount = 0;
// This is a deadlock code sequence - need to change this // This is a deadlock code sequence - need to change this