changeset 1176:02af8c5b9b24

[gaim-migrate @ 1186] I am dumb. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 30 Nov 2000 09:34:07 +0000
parents 581b3e015036
children 256e209c02ac
files src/prefs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Thu Nov 30 09:24:14 2000 +0000
+++ b/src/prefs.c	Thu Nov 30 09:34:07 2000 +0000
@@ -954,7 +954,7 @@
 static void reset_sound(GtkWidget *button, int snd) {
 
 	/* This just resets a sound file back to default */
-	g_free(sound_file[snd]);
+	sound_file[snd] = NULL;
 	
 	gtk_entry_set_text(GTK_ENTRY(sndent[snd]), "(default)");
 }