From: Olaf Wintermann Date: Mon, 4 Aug 2025 19:13:50 +0000 (+0200) Subject: add missing GFile unref X-Git-Url: https://uap-core.de/gitweb/?a=commitdiff_plain;h=0b4e5b8d6e57942ddacbe8d0360c290e9246ca4a;p=note.git add missing GFile unref --- diff --git a/application/gtk-text.c b/application/gtk-text.c index 2f9ad3f..67aab7c 100644 --- a/application/gtk-text.c +++ b/application/gtk-text.c @@ -1305,4 +1305,5 @@ void editor_insert_image_file(UiText *text, const char *filepath) { GFile *file = g_file_new_for_path(filepath); editor_dnd_add_file(editor, file); + g_object_unref(file); }