[haiku-bugs] Re: [Haiku] #11934: [PATCH] Solve memory leaks in Deskbar and some replicants.

  • From: "Barrett" <trac@xxxxxxxxxxxx>
  • Date: Thu, 09 Apr 2015 11:51:03 -0000

#11934: [PATCH] Solve memory leaks in Deskbar and some replicants.
------------------------------+----------------------------
Reporter: Barrett | Owner: stippi
Type: enhancement | Status: new
Priority: normal | Milestone: R1
Component: User Interface | Version: R1/Development
Resolution: | Keywords: Deskbar
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
------------------------------+----------------------------

Comment (by Barrett):

The problem is if i set BShelf::AddReplicant to delete the message there's
a condition for double free if some code is deleting it on it's own, or it
may be that some code around is using the message on failure and result in
a segmentation fault.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11934#comment:18>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: