Mercurial > pidgin
comparison libpurple/protocols/novell/novell.c @ 29669:fd4878f0aa76
Properly use g_slist_free instead of g_free in this instance. Fixes #11605.
committer: John Bailey <rekkanoryo@rekkanoryo.org>
author | Jürgen Orschiedt |
---|---|
date | Fri, 02 Apr 2010 16:35:52 +0000 |
parents | 2cb6ea4420a0 |
children | 29df7408df03 |
comparison
equal
deleted
inserted
replaced
29668:957f57decf90 | 29669:fd4878f0aa76 |
---|---|
1456 | 1456 |
1457 if (rem_list) { | 1457 if (rem_list) { |
1458 for (node = rem_list; node; node = node->next) { | 1458 for (node = rem_list; node; node = node->next) { |
1459 purple_privacy_permit_remove(gc->account, (char *)node->data, TRUE); | 1459 purple_privacy_permit_remove(gc->account, (char *)node->data, TRUE); |
1460 } | 1460 } |
1461 g_free(rem_list); | 1461 g_slist_free(rem_list); |
1462 rem_list = NULL; | 1462 rem_list = NULL; |
1463 } | 1463 } |
1464 | 1464 |
1465 for (node = gc->account->deny; node; node = node->next) { | 1465 for (node = gc->account->deny; node; node = node->next) { |
1466 dn = nm_lookup_dn(user, (char *)node->data); | 1466 dn = nm_lookup_dn(user, (char *)node->data); |