[haiku-bugs] Re: [Haiku] #12152: Memory is not released after a failed call to realloc()

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Thu, 18 Jun 2015 13:35:21 -0000

#12152: Memory is not released after a failed call to realloc()
----------------------------------------+----------------------------
Reporter: philcostin | Owner: axeld
Type: bug | Status: reopened
Priority: normal | Milestone: Unscheduled
Component: Network & Internet/Stack | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
----------------------------------------+----------------------------

Comment (by axeld):

Patch looks good, although I would remove the blank line between the
allocation, and the check for its success. Thanks philcostin!

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

Other related posts: