projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix memory leak in create_msg_thread()
[modest]
/
src
/
modest-mail-operation.c
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
d9e31bc
..
7c78ded
100644
(file)
--- a/
src/modest-mail-operation.c
+++ b/
src/modest-mail-operation.c
@@
-805,6
+805,7
@@
create_msg_thread (gpointer thread_data)
g_object_unref (info->mail_op);
g_slice_free (CreateMsgInfo, info);
g_object_unref (info->mail_op);
g_slice_free (CreateMsgInfo, info);
+ if (new_msg) g_object_unref(new_msg);
return NULL;
}
return NULL;
}