diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-01-28 19:48:51 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-01-28 19:48:51 +0100 |
commit | 43cb03e314513a9a9cecf6d8922146832f0c6c2b (patch) | |
tree | 7bd565dc43de97b1b9a5d613798478416405ffc3 /src | |
parent | 1c9186fe1b8ea9c946abbd883e060bd3f94776db (diff) |
fix memory leak (free exec_absolute_path)
Diffstat (limited to 'src')
-rw-r--r-- | src/wallpaper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c index a34f033..8660cde 100644 --- a/src/wallpaper.c +++ b/src/wallpaper.c @@ -334,6 +334,7 @@ void feh_wm_gen_bg_script(char* fil, int centered, int scaled, int filled, int u fclose(fp); } free(path); + free(exec_absolute_path); } void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled, |