evolution-mapi r108 - trunk/src/camel



Author: jjohnny
Date: Mon Feb  9 07:47:40 2009
New Revision: 108
URL: http://svn.gnome.org/viewvc/evolution-mapi?rev=108&view=rev

Log:
Mem leak fix.

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	Mon Feb  9 07:47:40 2009
@@ -494,7 +494,8 @@
 	storage_path = g_strdup_printf ("%s/folders", priv->storage_path);
 
 	/* Fixme Path - e_*-to_path */
-	folder_dir = g_strdup(g_strconcat (storage_path, "/", folder_name, NULL));
+	folder_dir = g_strconcat (storage_path, "/", folder_name, NULL);
+	g_free (storage_path);
 
 	if (g_access(folder_dir, F_OK) != 0) {
 		g_free(folder_dir);



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