# HG changeset patch # User Elliott Sales de Andrade # Date 1249008537 0 # Node ID 58f29c0286fe34e995c8abebe3489a9b971ba2fb # Parent 1b440a47dc0467efda9b6997d32800ea51b50e76 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. diff -r 1b440a47dc04 -r 58f29c0286fe libpurple/protocols/msn/slplink.c --- 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;