Mercurial > pidgin
changeset 24429:97eddfe30726
This preferences isn't used anywhere, and when we call get_string_list
here I think we lose the reference to the original list, which is a
memleak
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 14 Nov 2008 18:38:56 +0000 |
parents | b70fa8735b73 |
children | ad685dadbaca |
files | libpurple/protocols/qq/qq.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/qq/qq.c Fri Nov 14 18:33:19 2008 +0000 +++ b/libpurple/protocols/qq/qq.c Fri Nov 14 18:38:56 2008 +0000 @@ -1149,8 +1149,7 @@ server_list = server_list_build('A'); - purple_prefs_add_string_list("/plugins/prpl/qq/serverlist", server_list); - server_list = purple_prefs_get_string_list("/plugins/prpl/qq/serverlist"); + purple_prefs_remove("/plugins/prpl/qq/serverlist"); server_kv_list = NULL; kvp = g_new0(PurpleKeyValuePair, 1);