evolution-data-server r9167 - trunk/camel
- From: plaes svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9167 - trunk/camel
- Date: Tue, 22 Jul 2008 17:34:55 +0000 (UTC)
Author: plaes
Date: Tue Jul 22 17:34:55 2008
New Revision: 9167
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9167&view=rev
Log:
2008-07-22 Priit Laes <plaes plaes org>
** Fixes bug #544202
* camel-store.c: (construct): Fix string usage after it is freed.
Modified:
trunk/camel/ChangeLog
trunk/camel/camel-store.c
Modified: trunk/camel/camel-store.c
==============================================================================
--- trunk/camel/camel-store.c (original)
+++ trunk/camel/camel-store.c Tue Jul 22 17:34:55 2008
@@ -221,11 +221,12 @@
store->cdb = camel_db_open (store_db_path, ex);
printf("store_db_path %s\n", store_db_path);
- g_free (store_db_path);
if (camel_exception_is_set (ex)) {
- g_print ("Exiting without success for stire_db_path : [%s]\n", store_db_path);
+ g_print ("Exiting without success for store_db_path : [%s]\n", store_db_path);
+ g_free (store_db_path);
return;
}
+ g_free (store_db_path);
if (camel_db_create_folders_table (store->cdb, ex))
printf ("something went wrong terribly\n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]