#13118: [Patch] kits/tracker/DirMenu.cpp: fix memory leak
--------------------------------+------------------------------
Reporter: mt | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Kits/libtracker.so | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
--------------------------------+------------------------------
In BDirMenu::Populate(), memory allocated to 'menu' at line 98 [1] may
leak if fMenuBar is NULL at line 100 [2].
[1] http://cgit.haiku-os.org/haiku/tree/src/kits/tracker/DirMenu.cpp#n98
[2] http://cgit.haiku-os.org/haiku/tree/src/kits/tracker/DirMenu.cpp#n100
--
Ticket URL: <https://dev.haiku-os.org/ticket/13118>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.