changeset 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 a539caf502b0
files src/gtkconv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
 	}