diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-05 22:01:07 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-05 22:01:07 +0100 |
commit | f846eb550d128a5cd1b24e2ec4d4030a87c289de (patch) | |
tree | b2ee05ae3db36f6c4db282773bd98e5fffaface3 /src/imlib.c | |
parent | d473ac13e7b70e8ad7a009a0f8c6d793934d03f1 (diff) |
Fix memory leak in feh_draw_exif
Diffstat (limited to 'src/imlib.c')
-rw-r--r-- | src/imlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imlib.c b/src/imlib.c index ae9c1be..f42e906 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -1191,6 +1191,7 @@ void feh_draw_exif(winwidget w) info_buf[i], IMLIB_TEXT_TO_RIGHT, 0, 0, 0, 255); gib_imlib_text_draw(im, fn, NULL, 1, (i * line_height) + 1, info_buf[i], IMLIB_TEXT_TO_RIGHT, 255, 255, 255, 255); + free(info_buf[i]); } |