comparison src/list.c @ 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 ac7ca2bd6d4f
children 91ef4fae4a49
comparison
equal deleted inserted replaced
4719:da5dc9bc840a 4720:06e8e5858121
921 g_strdup(blist_parser_setting_name), 921 g_strdup(blist_parser_setting_name),
922 g_strdup(blist_parser_setting_value)); 922 g_strdup(blist_parser_setting_value));
923 } 923 }
924 g_free(blist_parser_setting_name); 924 g_free(blist_parser_setting_name);
925 g_free(blist_parser_setting_value); 925 g_free(blist_parser_setting_value);
926 blist_parser_setting_name = NULL;
927 blist_parser_setting_value = NULL;
926 blist_parser_current_tag = BLIST_TAG_BUDDY; 928 blist_parser_current_tag = BLIST_TAG_BUDDY;
927 } else if(!strcmp(element_name, "privacy")) { 929 } else if(!strcmp(element_name, "privacy")) {
928 blist_parser_current_tag = BLIST_TAG_GAIM; 930 blist_parser_current_tag = BLIST_TAG_GAIM;
929 } else if(!strcmp(element_name, "account")) { 931 } else if(!strcmp(element_name, "account")) {
930 struct gaim_account *account = gaim_account_find(blist_parser_account_name, 932 struct gaim_account *account = gaim_account_find(blist_parser_account_name,