|
From: | Paolo Bonzini |
Subject: | Re: proper realloc(p,0) behavior? |
Date: | Fri, 25 Mar 2011 12:59:53 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 03/24/2011 08:47 PM, Eric Blake wrote:
No argument by me if we enforce saner semantics to xrealloc.
What's the saner semantic? One results in double frees, the other in memory leaks. I think I prefer the latter, but perhaps the best choice is just to crash...
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |