diff src/gtkconv.c @ 13782:f4f68315a07a

[gaim-migrate @ 16194] Part of SF Patch #1492122 from Sadrul Fix a small memory leak. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 21 May 2006 02:58:03 +0000
parents 743e38a3182b
children a679f7700ff0
line wrap: on
line diff
--- a/src/gtkconv.c	Thu May 18 20:53:03 2006 +0000
+++ b/src/gtkconv.c	Sun May 21 02:58:03 2006 +0000
@@ -544,6 +544,7 @@
 	gtk_widget_grab_focus(gtkconv->entry);
 
 	if (strlen(clean) == 0) {
+		g_free(buf);
 		g_free(clean);
 		return;
 	}