mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-21 20:28:52 +00:00
secret-service: guard against NULL paths in secret_service_signal
This commit is contained in:
parent
adf232eaed
commit
907e32bfa2
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user