mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-14 04:18:32 +01:00
This should fix a scan-build warning that `resource` is used-after-freeing in the final `g_resource_unref()` call in `g_static_resource_fini()`, as `g_resources_unregister_unlocked()` has already unreffed it. In reality, each resource has two strong refs on it while active, so the second unref is correct. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
46 KiB
46 KiB