diff src/gtkspell.c @ 1415:3dfd2a83fb5e

[gaim-migrate @ 1425] woo hoo committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 19 Jan 2001 09:11:16 +0000
parents ccfa5d52e4df
children 7f7857c5036e
line wrap: on
line diff
--- a/src/gtkspell.c	Fri Jan 19 03:19:46 2001 +0000
+++ b/src/gtkspell.c	Fri Jan 19 09:11:16 2001 +0000
@@ -111,8 +111,7 @@
 
 void gtkspell_stop() {
 	if (gtkspell_running()) {
-		kill(spell_pid, SIGHUP); /* FIXME: is this the correct signal? */
-		/* note by EWarmenhoven: no. (was SIGQUIT, is now SIGHUP) */
+		kill(spell_pid, SIGHUP); 
 	}
 }
 
@@ -326,6 +325,7 @@
 	gtk_signal_handler_unblock_by_func(GTK_OBJECT(gtktext), 
 			GTK_SIGNAL_FUNC(entry_insert_cb), NULL);
 	gtk_text_thaw(gtktext);
+	g_free(newtext);
 }
 
 static gboolean check_at(GtkText *gtktext, int from_pos) {