evolution-data-server r9612 - branches/gnome-2-24/camel
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9612 - branches/gnome-2-24/camel
- Date: Thu, 25 Sep 2008 11:56:37 +0000 (UTC)
Author: mcrha
Date: Thu Sep 25 11:56:37 2008
New Revision: 9612
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9612&view=rev
Log:
2008-09-25 Milan Crha <mcrha redhat com>
** Fix for bug #553266
* camel-vee-folder.c: (vee_sync):
Do not free memory owned by someone else.
Modified:
branches/gnome-2-24/camel/ChangeLog
branches/gnome-2-24/camel/camel-vee-folder.c
Modified: branches/gnome-2-24/camel/camel-vee-folder.c
==============================================================================
--- branches/gnome-2-24/camel/camel-vee-folder.c (original)
+++ branches/gnome-2-24/camel/camel-vee-folder.c Thu Sep 25 11:56:37 2008
@@ -578,12 +578,11 @@
camel_folder_sync(f, expunge, ex);
if (camel_exception_is_set(ex) && strncmp(camel_exception_get_description(ex), "no such table", 13)) {
- char *desc;
+ const char *desc;
camel_object_get(f, NULL, CAMEL_OBJECT_DESCRIPTION, &desc, NULL);
camel_exception_setv(ex, ex->id, _("Error storing '%s': %s"), desc, ex->desc);
g_warning ("%s", camel_exception_get_description(ex));
- g_free(desc);
} else
camel_exception_clear (ex);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]