summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-05 22:01:07 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-05 22:01:07 +0100
commitf846eb550d128a5cd1b24e2ec4d4030a87c289de (patch)
treeb2ee05ae3db36f6c4db282773bd98e5fffaface3 /src/imlib.c
parentd473ac13e7b70e8ad7a009a0f8c6d793934d03f1 (diff)
Fix memory leak in feh_draw_exif
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c1
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]);
}