Mercurial > pidgin
changeset 19294:ed80bace0934
leak fix, and fix nosound
author | Richard Nelson <wabz@pidgin.im> |
---|---|
date | Fri, 17 Aug 2007 00:33:02 +0000 |
parents | 20c2c5a68aee |
children | 2684dac39834 |
files | finch/gntsound.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntsound.c Thu Aug 16 20:53:24 2007 +0000 +++ b/finch/gntsound.c Fri Aug 17 00:33:02 2007 +0000 @@ -446,7 +446,7 @@ method = purple_prefs_get_string(make_pref("/method")); - if (!strcmp(method, "none")) { + if (!strcmp(method, "nosound")) { return; } else if (!strcmp(method, "beep")) { beep(); @@ -747,6 +747,7 @@ } if (pref_dialog->selector) gnt_widget_destroy(pref_dialog->selector); + g_free(pref_dialog->original_profile); g_free(pref_dialog); pref_dialog = NULL; }