Opened 8 years ago
Closed 8 years ago
#13133 closed bug (fixed)
[Patch] apps/deskbar/DeskbarMenu.cpp: fix memory leak
Reported by: | mt | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Deskbar | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
In TDeskbarMenu::AddNextItem(), memory allocated to 'recentItem' at line 174 [1] could leak at line 203 [2] if 'enabled' is false at line 181 [3].
[1] http://cgit.haiku-os.org/haiku/tree/src/apps/deskbar/DeskbarMenu.cpp#n174 [2] http://cgit.haiku-os.org/haiku/tree/src/apps/deskbar/DeskbarMenu.cpp#n203 [3] http://cgit.haiku-os.org/haiku/tree/src/apps/deskbar/DeskbarMenu.cpp#n181
Attachments (2)
Change History (4)
by , 8 years ago
Attachment: | 0038-DeskbarMenu.cpp-fix-memory-leak.patch added |
---|
comment:1 by , 8 years ago
patch: | 0 → 1 |
---|
by , 8 years ago
Attachment: | report-50b538.html added |
---|
Note:
See TracTickets
for help on using tickets.
Report by Clang Static Analyzer