commit c8e1aece7301c3c6481bf2f695734f8d273f252e
parent cbd454e4931d77f99a4167427d0dbec346df5e28
Author: Chris Guillott <chris@techfo.xyz>
Date: Sat, 17 Sep 2016 10:39:23 -0400
Merge pull request #8 from i3/master
i3lock: Stop leaking the image_path dup. (#93)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/i3lock.c b/i3lock.c
@@ -1145,6 +1145,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) */