about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-25 00:18:52 +0100
committerJames Booth <boothj5@gmail.com>2016-07-25 00:18:52 +0100
commit923256b8bb02917802eb0727eb1775bcd3d51d57 (patch)
tree521d541350720810c87a42195c8b7c63573ac7fe /src/ui
parentcbfc34f7c3acdb4063b7f4d552c89cebc2eafdbf (diff)
downloadprofani-tty-923256b8bb02917802eb0727eb1775bcd3d51d57.tar.gz
Free icon dir path name
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/tray.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/tray.c b/src/ui/tray.c
index 374eefb7..ec1f1f96 100644
--- a/src/ui/tray.c
+++ b/src/ui/tray.c
@@ -81,6 +81,7 @@ _get_icons(void)
 
     char *icons_dir_s = files_get_config_path(DIR_ICONS);
     icons_dir = g_string_new(icons_dir_s);
+    free(icons_dir_s);
     GError *err = NULL;
     if (!g_file_test(icons_dir->str, G_FILE_TEST_IS_DIR)) {
         return;