Mercurial > pidgin
diff src/buddy.c @ 1794:60b3fd819cce
[gaim-migrate @ 1804]
hi
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 02 May 2001 03:59:42 +0000 |
parents | 1e0613d9526b |
children | caa605e70917 |
line wrap: on
line diff
--- a/src/buddy.c Wed May 02 00:10:38 2001 +0000 +++ b/src/buddy.c Wed May 02 03:59:42 2001 +0000 @@ -2895,6 +2895,8 @@ g_free(n); if (!d) gc->permit = g_slist_append(gc->permit, name); + else + g_free(name); } else if (*c == 'd') { GSList *d = gc->deny; char *n; @@ -2909,6 +2911,8 @@ g_free(n); if (!d) gc->deny = g_slist_append(gc->deny, name); + else + g_free(name); } else if (!strncmp("toc", c, 3)) { sscanf(c + strlen(c) - 1, "%d", &gc->permdeny); debug_printf("permdeny: %d\n", gc->permdeny);