diff options
author | James Booth <boothj5@gmail.com> | 2015-02-09 21:28:08 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-02-09 21:28:08 +0000 |
commit | 51ccb695804fc4174b59cd45b7008f13bddd4739 (patch) | |
tree | 318e348b00cee95047ae3c9255c34e264b741b75 /src/config/theme.c | |
parent | 916ee1dc1367f890261ec87990ce890ebf06f12f (diff) | |
parent | 6682f243ce2cbb46a1323bcd5fdf3a672b5a5d00 (diff) | |
download | profani-tty-51ccb695804fc4174b59cd45b7008f13bddd4739.tar.gz |
Merge branch 'master' into readline
Conflicts: src/ui/inputwin.c
Diffstat (limited to 'src/config/theme.c')
-rw-r--r-- | src/config/theme.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config/theme.c b/src/config/theme.c index a5dbd0dd..26d48091 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -192,7 +192,9 @@ GSList * theme_list(void) { GSList *result = NULL; - _theme_list_dir(_get_themes_dir(), &result); + char *themes_dir = _get_themes_dir(); + _theme_list_dir(themes_dir, &result); + free(themes_dir); #ifdef THEMES_PATH _theme_list_dir(THEMES_PATH, &result); #endif |