changeset 13307:2990bc8c89fa

[gaim-migrate @ 15673] Leak fix committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 20 Feb 2006 21:40:54 +0000
parents b9048e9ed019
children e7d1ecb0a940
files src/util.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/util.c	Fri Feb 17 21:40:01 2006 +0000
+++ b/src/util.c	Mon Feb 20 21:40:54 2006 +0000
@@ -622,6 +622,8 @@
 		return "";
 	}
 
+	g_free(locale);
+
 	utf8 = g_locale_to_utf8(buf, len, NULL, NULL, &err);
 	if (err != NULL)
 	{