<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdlib/reallocf.c, branch releng/4.9</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F4.9</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F4.9'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>1999-08-28T00:22:10Z</updated>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>urn:sha1:7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix style problems noted by Bruce:</title>
<updated>1998-09-16T03:16:06Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1998-09-16T03:16:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a5722f2e848eebb61a211eb46ccba1d46289f38'/>
<id>urn:sha1:9a5722f2e848eebb61a211eb46ccba1d46289f38</id>
<content type='text'>
	o No copyright on reallocf.
	o Order makefile list correctly.
	o indent reallocf properly.
</content>
</entry>
<entry>
<title>Add reallocf to the library.  This function is simliar to realloc, but</title>
<updated>1998-09-14T20:34:34Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1998-09-14T20:34:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=94ad719cf47118069c9d840583e10ee17b5dfe50'/>
<id>urn:sha1:94ad719cf47118069c9d840583e10ee17b5dfe50</id>
<content type='text'>
when it returns NULL to indicate failure, it will also free the memory
that was passed to it, if that was non-null.

This does not change the semantics of realloc.

A second commit will be done to commit the conversion of those places in
the code that can safely use this to avoid memory leaks when confronted
with low memory situations.

Beaten-to-death-but-finally-approved-in: -current
</content>
</entry>
</feed>
