comparison src/prefs.c @ 7317:9b303dd88cb2

[gaim-migrate @ 7901] not that this actually changes anything, but... committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 22 Oct 2003 18:23:45 +0000
parents 0c5637b5462e
children 53c86d59f20b
comparison
equal deleted inserted replaced
7316:5b408a3fc6f4 7317:9b303dd88cb2
207 207
208 static void free_pref_value(struct gaim_pref *pref) { 208 static void free_pref_value(struct gaim_pref *pref) {
209 switch(pref->type) { 209 switch(pref->type) {
210 case GAIM_PREF_BOOLEAN: 210 case GAIM_PREF_BOOLEAN:
211 pref->value.boolean = FALSE; 211 pref->value.boolean = FALSE;
212 break;
212 case GAIM_PREF_INT: 213 case GAIM_PREF_INT:
213 pref->value.integer = 0; 214 pref->value.integer = 0;
214 break; 215 break;
215 case GAIM_PREF_STRING: 216 case GAIM_PREF_STRING:
216 g_free(pref->value.string); 217 g_free(pref->value.string);