commit fd2215b0f08991f0f710533b122a182438ff2237
parent 17b7b77893c0c5f343e71625ac55bac69f07eed2
Author: Diogo Ferreira <diogo@underdev.org>
Date: Tue, 13 Sep 2016 20:59:54 +0100
i3lock: Stop leaking the image_path dup. (#93)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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) */