[Xfce4-commits] [panel-plugins/xfce4-xkb-plugin] 01/01: Fix memory leak in xkb_util_get_flag_filename
noreply at xfce.org
noreply at xfce.org
Sun Jun 11 17:35:57 CEST 2017
This is an automated email from the git hooks/post-receive script.
n i n e t l s p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-xkb-plugin.
commit deac172635d065682c045d34e173675a524287fa
Author: Viktor Odintsev <zakhams at gmail.com>
Date: Sun Jun 11 18:35:19 2017 +0300
Fix memory leak in xkb_util_get_flag_filename
---
panel-plugin/xkb-util.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/panel-plugin/xkb-util.c b/panel-plugin/xkb-util.c
index c105ca3..11a7179 100644
--- a/panel-plugin/xkb-util.c
+++ b/panel-plugin/xkb-util.c
@@ -39,6 +39,7 @@ xkb_util_get_flag_filename (const gchar* group_name)
if (!g_file_test (filename, G_FILE_TEST_EXISTS))
{
+ g_free (filename);
filename = g_strconcat (DATADIR, "/", FLAGSRELDIR, "/", group_name, ".svg", NULL);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list