evolution-mapi r71 - trunk/src/camel
- From: jjohnny svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-mapi r71 - trunk/src/camel
- Date: Tue, 20 Jan 2009 06:13:36 +0000 (UTC)
Author: jjohnny
Date: Tue Jan 20 06:13:35 2009
New Revision: 71
URL: http://svn.gnome.org/viewvc/evolution-mapi?rev=71&view=rev
Log:
Camel : Fix mem leaks.
Modified:
trunk/src/camel/ChangeLog
trunk/src/camel/camel-mapi-store.c
Modified: trunk/src/camel/camel-mapi-store.c
==============================================================================
--- trunk/src/camel/camel-mapi-store.c (original)
+++ trunk/src/camel/camel-mapi-store.c Tue Jan 20 06:13:35 2009
@@ -853,10 +853,11 @@
fi->full_name = g_strdup(folder_name);
url = camel_url_new(priv->base_url,NULL);
- //g_free(url->path);
+ g_free(url->path);
+
url->path = g_strdup_printf("/%s", fi->full_name);
fi->uri = camel_url_to_string(url,CAMEL_URL_HIDE_ALL);
- //camel_url_free(url);
+ camel_url_free(url);
name = strrchr(fi->full_name,'/');
if(name == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]