[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proper realloc(p,0) behavior?

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: 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...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]