Mercurial > pidgin.yaz
changeset 28088:58f29c0286fe
I don't understand how this branch could be reached, but don't leak the slp
message if we get here. The two places that set slpcall->xfer also set
xfer->data, so this really shouldn't happen.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 31 Jul 2009 02:48:57 +0000 |
parents | 1b440a47dc04 |
children | 46a6465491ac |
files | libpurple/protocols/msn/slplink.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c Fri Jul 31 01:28:41 2009 +0000 +++ b/libpurple/protocols/msn/slplink.c Fri Jul 31 02:48:57 2009 +0000 @@ -541,7 +541,8 @@ if (xfer->data == NULL) { purple_xfer_unref(xfer); - return; + msn_slpmsg_destroy(slpmsg); + g_return_if_reached(); } else { purple_xfer_unref(xfer); slpmsg->fp = xfer->dest_fp;