Re: [evolution-patches] [PATCH] leak fix(es) in e-xml-hash-utils
- From: Rodrigo Moya <rodrigo ximian com>
- To: Thomas Cataldo <thomas cataldo aliacom fr>
- Cc: evolution-patches lists ximian com
- Subject: Re: [evolution-patches] [PATCH] leak fix(es) in e-xml-hash-utils
- Date: Tue, 20 Jan 2004 18:40:00 +0100
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]