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

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Fri, 19 Jun 2015 07:26:11 -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):

I can't follow you there. There are three calls to Prepare(), one checks
the result against NULL directly, the other two pass their result to the
address module's set_to_defaults() which does check the parameters against
NULL, too.

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

Other related posts: