# HG changeset patch # User Elliott Sales de Andrade # Date 1260430527 0 # Node ID 1019ec61967a73c981583fb089e7a409ca783c11 # Parent dfcd5190a4a966db04445fa1680a6e55ff323d0b Call xmlnode_free in the correct location. diff -r dfcd5190a4a9 -r 1019ec61967a libpurple/protocols/msn/notification.c --- a/libpurple/protocols/msn/notification.c Wed Dec 09 21:50:01 2009 +0000 +++ b/libpurple/protocols/msn/notification.c Thu Dec 10 07:35:27 2009 +0000 @@ -1709,6 +1709,9 @@ g_free(str); parse_user_endpoints(user, payloadNode); + + xmlnode_free(payloadNode); + } else { msn_user_set_statusline(user, NULL); msn_user_set_currentmedia(user, NULL); diff -r dfcd5190a4a9 -r 1019ec61967a libpurple/protocols/msn/state.c --- a/libpurple/protocols/msn/state.c Wed Dec 09 21:50:01 2009 +0000 +++ b/libpurple/protocols/msn/state.c Thu Dec 10 07:35:27 2009 +0000 @@ -177,8 +177,6 @@ } currentmedia = xmlnode_get_data(currentmediaNode); - xmlnode_free(payloadNode); - return currentmedia; } @@ -198,8 +196,6 @@ } psm = xmlnode_get_data(psmNode); - xmlnode_free(payloadNode); - return psm; }