Merge branch 'master' into 'master'

secret-service: guard against NULL paths in secret_service_signal

See merge request GNOME/libsecret!148
This commit is contained in:
Dhanuka Warusadura 2024-11-21 14:53:00 +00:00
commit 0be4d690e5

View File

@ -441,6 +441,7 @@ secret_service_signal (GDBusProxy *proxy,
*/ */
paths = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (self), "Collections"); paths = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (self), "Collections");
g_return_if_fail (paths != NULL);
/* A new collection was added, add it to the Collections property */ /* A new collection was added, add it to the Collections property */
if (g_str_equal (signal_name, SECRET_SIGNAL_COLLECTION_CREATED)) { if (g_str_equal (signal_name, SECRET_SIGNAL_COLLECTION_CREATED)) {