Merge branch 'filename-completer-free-undefined' into 'main'

gfilenamecompleter: Fix g_object_unref() of undefined value

See merge request GNOME/glib!4708
This commit is contained in:
Michael Catanzaro
2025-07-22 07:50:50 -05:00

View File

@@ -342,7 +342,7 @@ init_completion (GFilenameCompleter *completer,
char **basename_out)
{
gboolean should_escape;
GFile *file, *parent;
GFile *file = NULL, *parent = NULL;
char *basename;
char *t;
size_t len;