[haiku-bugs] [Haiku] #13135: [Patch] servers/notification/NotificationWindow.cpp: fix memory leak

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Fri, 30 Dec 2016 23:06:56 -0000

#13135: [Patch] servers/notification/NotificationWindow.cpp: fix memory leak
-----------------------------------------+------------------------------
 Reporter:  mt                           |        Owner:  pulkomandy
     Type:  bug                          |       Status:  new
 Priority:  normal                       |    Milestone:  Unscheduled
Component:  Servers/notification_server  |      Version:  R1/Development
 Keywords:                               |   Blocked By:
 Blocking:                               |  Has a Patch:  0
 Platform:  All                          |
-----------------------------------------+------------------------------
 In NotificationWindow::MessageReceived(), memory allocated to 'view' at
 line 171 [1] could leak at line 208 [2] if 'allow' is false at line 190
 [3].

 [1] http://cgit.haiku-
 os.org/haiku/tree/src/servers/notification/NotificationWindow.cpp#n171
 [2] http://cgit.haiku-
 os.org/haiku/tree/src/servers/notification/NotificationWindow.cpp#n208
 [3] http://cgit.haiku-
 os.org/haiku/tree/src/servers/notification/NotificationWindow.cpp#n190

--
Ticket URL: <https://dev.haiku-os.org/ticket/13135>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: