Mercurial > pidgin.yaz
changeset 31432:1ab50afb7925
It doesn't seem like we use this kv value, so might as well save the
memory for it.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 02 Dec 2010 05:16:27 +0000 |
parents | 5c2af6c30e52 |
children | fc6ecc8f1b34 |
files | libpurple/protocols/msn/notification.c libpurple/protocols/msn/session.c libpurple/protocols/msn/session.h |
diffstat | 3 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c Thu Dec 02 05:03:05 2010 +0000 +++ b/libpurple/protocols/msn/notification.c Thu Dec 02 05:16:27 2010 +0000 @@ -1942,12 +1942,6 @@ /* This isn't an official message. */ return; - if ((value = msn_message_get_header_value(msg, "kv")) != NULL) - { - g_free(session->passport_info.kv); - session->passport_info.kv = g_strdup(value); - } - if ((value = msn_message_get_header_value(msg, "sid")) != NULL) { g_free(session->passport_info.sid);
--- a/libpurple/protocols/msn/session.c Thu Dec 02 05:03:05 2010 +0000 +++ b/libpurple/protocols/msn/session.c Thu Dec 02 05:16:27 2010 +0000 @@ -103,7 +103,6 @@ g_free(session->blocked_text); #endif - g_free(session->passport_info.kv); g_free(session->passport_info.sid); g_free(session->passport_info.mspauth); g_free(session->passport_info.client_ip);