i3lock: Stop leaking the image_path dup. (#93)

pull/94/head
Diogo Ferreira 2016-09-13 20:59:54 +01:00 committed by Michael Stapelberg
parent 17b7b77893
commit fd2215b0f0
1 changed files with 1 additions and 0 deletions

View File

@ -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) */