Mercurial > pidgin.yaz
changeset 31288:7edcf92b1537
A Message may not have a part, use destroy which return silently when part == NULL instead of asserting.
author | masca@cpw.pidgin.im |
---|---|
date | Wed, 07 Jul 2010 21:08:26 +0000 |
parents | e358e16e527f |
children | 3f2c184f24b9 |
files | libpurple/protocols/msn/msg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c Wed Jul 07 21:04:57 2010 +0000 +++ b/libpurple/protocols/msn/msg.c Wed Jul 07 21:08:26 2010 +0000 @@ -72,7 +72,7 @@ g_hash_table_destroy(msg->header_table); g_list_free(msg->header_list); - msn_slpmsgpart_unref(msg->part); + msn_slpmsgpart_destroy(msg->part); g_free(msg); }