Patch: bad GSlice usage in TnyCamelSendQueue
- From: José Dapena Paz <jdapena igalia com>
- To: tinymail-devel-list <tinymail-devel-list gnome org>
- Subject: Patch: bad GSlice usage in TnyCamelSendQueue
- Date: Wed, 18 Mar 2009 15:11:30 +0100
Hi
This fix is for a bug I found in tinymail running it with
G_SLICE=debug-blocks (see [1]). It could cause very hard to catch
crashes.
Changelog entry:
* libtinymail-camel/tny-camel-send-queue.c: fix
bad usage of GSlice that could cause crashes.
[1] http://blogs.gnome.org/timj/2007/01/02/28122006-g_slicedebug-blocks/
--
José Dapena Paz <jdapena igalia com>
Igalia
diff --git a/ChangeLog b/ChangeLog
index 9d7d6e0..f46c4d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-18 Jose Dapena Paz <jdapena igalia com>
+
+ * libtinymail-camel/tny-camel-send-queue.c: fix
+ bad usage of GSlice that could cause crashes.
+
2009-03-17 Sergio Villar Senin <svillar igalia com>
* libtinymailui-gtk/tny-gtk-folder-list-store.c (get_folders_cb):
diff --git a/libtinymail-camel/tny-camel-send-queue.c b/libtinymail-camel/tny-camel-send-queue.c
index 20c873b..e4f706d 100644
--- a/libtinymail-camel/tny-camel-send-queue.c
+++ b/libtinymail-camel/tny-camel-send-queue.c
@@ -599,7 +599,7 @@ wait_for_queue_start_notification (TnySendQueue *self)
g_mutex_free (info->mutex);
g_cond_free (info->condition);
- g_slice_free (GetHeadersSync, info);
+ g_slice_free (ControlInfo, info);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]