mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2024-11-11 13:50:52 -05:00
Merge pull request #8 from i3/master
i3lock: Stop leaking the image_path dup. (#93)
This commit is contained in:
commit
c8e1aece73
1 changed files with 1 additions and 0 deletions
1
i3lock.c
1
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) */
|
||||
|
|
Loading…
Reference in a new issue