From b0a0a8f17bd64e623c1896f79ca860895a98a3ef Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Wed, 22 Apr 2009 15:34:19 +0300 Subject: [PATCH] src/screen.c: fix memleak in remove_encoding_from_path --- src/screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screen.c b/src/screen.c index b7ebb2a40..18ee2a20e 100644 --- a/src/screen.c +++ b/src/screen.c @@ -912,6 +912,7 @@ remove_encoding_from_path (const char *path) g_string_set_size(tmp_conv,0); } g_string_set_size(tmp_path,tmp - tmp_path->str); + str_close_conv (converter); } g_string_prepend(ret, tmp_path->str); g_string_free(tmp_path,TRUE);