secret-service: guard against NULL paths in secret_service_signal

This commit is contained in:
Simon Pilkington 2024-11-19 12:06:17 +01:00
parent adf232eaed
commit 907e32bfa2

View File

@ -441,6 +441,7 @@ secret_service_signal (GDBusProxy *proxy,
*/
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 */
if (g_str_equal (signal_name, SECRET_SIGNAL_COLLECTION_CREATED)) {