mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 18:05:39 +00:00
clients/image: do not leak filename
Do not forget to destroy the filename. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
This commit is contained in:
parent
8af763fb7d
commit
13f09a549d
|
@ -371,6 +371,8 @@ close_handler(void *data)
|
|||
|
||||
cairo_surface_destroy(image->image);
|
||||
|
||||
free(image->filename);
|
||||
|
||||
widget_destroy(image->image_widget);
|
||||
widget_destroy(image->frame_widget);
|
||||
window_destroy(image->window);
|
||||
|
|
Loading…
Reference in a new issue