From fd2215b0f08991f0f710533b122a182438ff2237 Mon Sep 17 00:00:00 2001 From: Diogo Ferreira Date: Tue, 13 Sep 2016 20:59:54 +0100 Subject: [PATCH] i3lock: Stop leaking the image_path dup. (#93) --- i3lock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/i3lock.c b/i3lock.c index 7bcefaf..6778e5e 100644 --- a/i3lock.c +++ b/i3lock.c @@ -971,6 +971,7 @@ int main(int argc, char *argv[]) { image_path, cairo_status_to_string(cairo_surface_status(img))); img = NULL; } + free(image_path); } /* Pixmap on which the image is rendered to (if any) */