Re: [evolution-patches] [PATCH] leak fix(es) in e-xml-hash-utils



On Tue, 2004-01-20 at 00:28 +0100, Thomas Cataldo wrote:
> Hi,
> 
> Here's a patch to fix a few leaks in e-xml-hash-utils. This was
> previously reported on bugzilla as
> http://bugzilla.ximian.com/show_bug.cgi?id=53000
> 
looks ok to me, although I'd change:

> -               if (!key || !value) {
> +               if (!value) {
> +                       xmlFree (key);
>                         g_warning ("Found an entry with missing
> properties!!");
> 
with a more meaningful message, like 'Found a key with no value'.

cheers




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