comparison src/gaimrc.c @ 6040:80e3641ee9eb

[gaim-migrate @ 6490] Various minor memleak fixes, and a rephrasing of an oscar error message. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 06 Jul 2003 06:57:42 +0000
parents 22923270493f
children 3a40666c08b4
comparison
equal deleted inserted replaced
6039:0c4d0c93c8c5 6040:80e3641ee9eb
1241 i = p->option[strlen("sound")] - 'A'; 1241 i = p->option[strlen("sound")] - 'A';
1242 1242
1243 pref_name = g_strdup_printf("/gaim/gtk/sound/file/%s", 1243 pref_name = g_strdup_printf("/gaim/gtk/sound/file/%s",
1244 gaim_gtk_sound_get_event_option(i)); 1244 gaim_gtk_sound_get_event_option(i));
1245 gaim_prefs_set_string(pref_name, p->value[0]); 1245 gaim_prefs_set_string(pref_name, p->value[0]);
1246 g_free(pref_name);
1246 } 1247 }
1247 } 1248 }
1248 } 1249 }
1249 1250
1250 static gboolean gaimrc_parse_proxy_uri(const char *proxy) 1251 static gboolean gaimrc_parse_proxy_uri(const char *proxy)