Re: Commit: Re: patch: one-liner for 1134


Subject: Re: Commit: Re: patch: one-liner for 1134
From: Patrick Lam (plam@plam.lcs.mit.edu)
Date: Thu Mar 29 2001 - 23:55:23 CST


Hi Martin,

On Fri, 30 Mar 2001, Martin Sevior wrote:

> delete m_pszTabStops;
>
> Just before we leave the method to not leak the 2 bytes of memory :-)
>
> After all Abi will be perfect.
> (Eventually!)

That's not actually correct; the field is assumed to exist by other
methods and should *not* be deleted. It is freed in the destructor, so
there will be no memory leak.

pat



This archive was generated by hypermail 2b25 : Fri Mar 30 2001 - 00:06:39 CST