mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Free icon dir path name
This commit is contained in:
parent
cbfc34f7c3
commit
923256b8bb
@ -81,6 +81,7 @@ _get_icons(void)
|
|||||||
|
|
||||||
char *icons_dir_s = files_get_config_path(DIR_ICONS);
|
char *icons_dir_s = files_get_config_path(DIR_ICONS);
|
||||||
icons_dir = g_string_new(icons_dir_s);
|
icons_dir = g_string_new(icons_dir_s);
|
||||||
|
free(icons_dir_s);
|
||||||
GError *err = NULL;
|
GError *err = NULL;
|
||||||
if (!g_file_test(icons_dir->str, G_FILE_TEST_IS_DIR)) {
|
if (!g_file_test(icons_dir->str, G_FILE_TEST_IS_DIR)) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user