1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Free icon dir path name

This commit is contained in:
James Booth 2016-07-25 00:18:52 +01:00
parent cbfc34f7c3
commit 923256b8bb

View File

@ -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;