changeset 863:55194c5f338f

[gaim-migrate @ 873] ha! wonder why no one's reported this yet.... scary committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 08 Sep 2000 06:52:35 +0000
parents 2ee4e61832a4
children 4a6ab6995439
files src/toc.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/toc.c	Fri Sep 08 06:44:55 2000 +0000
+++ b/src/toc.c	Fri Sep 08 06:52:35 2000 +0000
@@ -898,6 +898,7 @@
 			} else if (*c == 'p') {
 				GList *d = permit;
 				char *n;
+				name = g_malloc(strlen(c+2) + 2);
 				g_snprintf(name, strlen(c+2) + 1, "%s", c+2);
 				n = g_strdup(normalize(name));
 				while (d) {