Leak in tny-camel-mime-part
- From: Alberto Garcia <agarcia igalia com>
- To: tinymail-devel-list gnome org
- Subject: Leak in tny-camel-mime-part
- Date: Mon, 17 Dec 2007 17:22:46 +0100
Looks like there's a leak here, as camel_medium_set_content_object()
adds a reference (camel_medium_get_content_object() doesn't, by the
way)
--
Alberto García González
http://people.igalia.com/berto/
Index: libtinymail-camel/tny-camel-mime-part.c
===================================================================
--- libtinymail-camel/tny-camel-mime-part.c (revision 3143)
+++ libtinymail-camel/tny-camel-mime-part.c (working copy)
@@ -748,6 +748,7 @@
if (!wrapper) {
wrapper = camel_data_wrapper_new ();
camel_medium_set_content_object (medium, wrapper);
+ camel_object_unref (wrapper);
}
if (wrapper->stream) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]