i3lock: Stop leaking the image_path dup. (#93)
This commit is contained in:
parent
17b7b77893
commit
fd2215b0f0
1
i3lock.c
1
i3lock.c
|
@ -971,6 +971,7 @@ int main(int argc, char *argv[]) {
|
||||||
image_path, cairo_status_to_string(cairo_surface_status(img)));
|
image_path, cairo_status_to_string(cairo_surface_status(img)));
|
||||||
img = NULL;
|
img = NULL;
|
||||||
}
|
}
|
||||||
|
free(image_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pixmap on which the image is rendered to (if any) */
|
/* Pixmap on which the image is rendered to (if any) */
|
||||||
|
|
Loading…
Reference in New Issue