changeset 762:977048924ce1

[gaim-migrate @ 772] bad placement. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 25 Aug 2000 01:02:17 +0000
parents a5e3f625389c
children 4aeb969c70c9
files src/toc.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/toc.c	Fri Aug 25 00:51:25 2000 +0000
+++ b/src/toc.c	Fri Aug 25 01:02:17 2000 +0000
@@ -915,7 +915,8 @@
 				}
 				g_free(n);
 				if (!d)
-				permit = g_list_append(permit, name);
+					permit = g_list_append(permit, name);
+				g_free(name);
 			} else if (*c == 'd') {
 				GList *d = deny;
 				char *n;
@@ -930,6 +931,7 @@
 				g_free(n);
 				if (!d)
 					deny = g_list_append(deny, name);
+				g_free(name);
 			} else if (*c == 't') {
 				sscanf(c + strlen(c) - 2, "%d", &permdeny);
 				if (permdeny == 0)