changeset 4720:06e8e5858121

[gaim-migrate @ 5032] oops. this should fix the segfault when there's multiple settings for a buddy committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 12 Mar 2003 01:34:25 +0000
parents da5dc9bc840a
children 91ef4fae4a49
files src/list.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/list.c	Tue Mar 11 22:55:52 2003 +0000
+++ b/src/list.c	Wed Mar 12 01:34:25 2003 +0000
@@ -923,6 +923,8 @@
 		}
 		g_free(blist_parser_setting_name);
 		g_free(blist_parser_setting_value);
+		blist_parser_setting_name = NULL;
+		blist_parser_setting_value = NULL;
 		blist_parser_current_tag = BLIST_TAG_BUDDY;
 	} else if(!strcmp(element_name, "privacy")) {
 		blist_parser_current_tag = BLIST_TAG_GAIM;