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:
Leandro Ribeiro 2024-04-24 17:34:26 -03:00 committed by Pekka Paalanen
parent 8af763fb7d
commit 13f09a549d
1 changed files with 2 additions and 0 deletions

View File

@ -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);