[evolution-patches] [Groupwise] Leak in groupwise_send_to()
- From: Jules Colding <colding omesc com>
- To: Evolution Patches <evolution-patches gnome org>
- Subject: [evolution-patches] [Groupwise] Leak in groupwise_send_to()
- Date: Tue, 13 Sep 2005 13:34:06 +0200
Hi,
While trying to comprehend the world, evolution and Camel in particular,
I noticed that "url" isn't g_free()'ed in groupwise_send_to() in the
gnome-2-12 branch.
--
jules
Index: camel-groupwise-transport.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-transport.c,v
retrieving revision 1.19
diff -u -p -r1.19 camel-groupwise-transport.c
--- camel-groupwise-transport.c 31 Aug 2005 04:26:07 -0000 1.19
+++ camel-groupwise-transport.c 13 Sep 2005 11:30:34 -0000
@@ -162,6 +162,7 @@ groupwise_send_to (CamelTransport *trans
/*camel groupwise store and cnc*/
store = camel_session_get_store (service->session, url, ex );
+ g_free(url);
if (!store) {
g_warning ("ERROR: Could not get a pointer to the store");
camel_exception_set (ex, CAMEL_EXCEPTION_STORE_INVALID, _("Cannot get folder: Invalid operation on this store"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]