Mercurial > pidgin.yaz
diff src/gtksound.c @ 6778:b8bc8dd411cc
[gaim-migrate @ 7316]
memleak fixen
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 07 Sep 2003 15:55:28 +0000 |
parents | 74d1cd241a3d |
children | feb3d21a7794 |
line wrap: on
line diff
--- a/src/gtksound.c Sun Sep 07 07:13:48 2003 +0000 +++ b/src/gtksound.c Sun Sep 07 15:55:28 2003 +0000 @@ -311,10 +311,11 @@ static void _pref_sound_method_changed(const char *name, GaimPrefType type, gpointer val, gpointer data) { + if(type != GAIM_PREF_STRING || strcmp(name, "/gaim/gtk/sound/method")) + return; + sound_initialized = TRUE; - if(type != GAIM_PREF_STRING || strcmp(name, "/gaim/gtk/sound/method")) - return; #ifdef USE_AO ao_driver = -1;