From: Junio C Hamano Date: Wed, 07 Jan 2009 21:19:19 GMT Subject: Re: [PATCH] strbuf: instate cleanup rule in case of non-memory errors Message-ID: <7vtz8a95m0.fsf@gitster.siamese.dyndns.org> In-Reply-To: <4963C1EA.504@lsrfire.ath.cx> René Scharfe writes: > Make all strbuf functions that can fail free() their memory on error if > they have allocated it. They don't shrink buffers that have been grown, > though. Thanks; applied.