summaryrefslogtreecommitdiff
path: root/libnm/nm-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-object.c')
-rw-r--r--libnm/nm-object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/nm-object.c b/libnm/nm-object.c
index f02c09c2e2..391166b29b 100644
--- a/libnm/nm-object.c
+++ b/libnm/nm-object.c
@@ -919,7 +919,7 @@ handle_property_changed (NMObject *self, const char *dbus_name,
g_free (s);
}
- if (pi->object_type) {
+ if (pspec && pi->object_type) {
if (g_variant_is_of_type (value, G_VARIANT_TYPE_OBJECT_PATH))
success = handle_object_property (self, pspec->name, value, pi, synchronously);
else if (g_variant_is_of_type (value, G_VARIANT_TYPE ("ao")))