Files
glib/gio
Philip Withnall c537ffd4a5 gfilenamecompleter: Fix g_object_unref() of undefined value
If the first `goto out` is taken, `file` has not yet been initialised,
but `g_clear_object (&file)` is called on it, and things get unhappy.

Fix that by following standard convention and initialising
‘autoptr’-like variables at declaration time.

Spotted by scan-build in
https://gitlab.gnome.org/GNOME/glib/-/jobs/5321883.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2025-07-22 14:00:49 +01:00
..
2022-10-13 20:53:56 -04:00
2024-10-01 16:25:57 +01:00
2023-10-23 13:18:13 +01:00
2025-03-17 13:38:13 +01:00
2025-01-28 12:03:10 +00:00
2022-10-13 20:53:56 -04:00
2022-10-13 20:53:56 -04:00
2025-02-03 09:19:17 -05:00