reference leak in tny_camel_folder_copy_async
- From: Sergio Villar Senin <svillar igalia com>
- To: tinymail-devel-list gnome org
- Subject: reference leak in tny_camel_folder_copy_async
- Date: Mon, 28 May 2007 15:23:52 +0200
Hi all,
Seems that a couple of ref/unref are wrong
Br
Index: tny-camel-folder.c
===================================================================
--- tny-camel-folder.c (revision 2058)
+++ tny-camel-folder.c (working copy)
@@ -2046,7 +2046,7 @@
}
/* thread reference */
- g_object_ref (G_OBJECT (info->into));
+ g_object_unref (G_OBJECT (info->into));
g_object_unref (G_OBJECT (info->self));
/* _tny_camel_folder_unreason (priv); */
@@ -2164,7 +2164,7 @@
tny_camel_folder_copy_async_destroyer (info);
}
} else { /* Thread reference */
- g_object_ref (info->into);
+ g_object_unref (info->into);
g_object_unref (info->self);
/* _tny_camel_folder_unreason (priv); */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]