platform: don't assert against success of nl_msg_parse()

This commit is contained in:
Thomas Haller 2015-04-14 17:54:36 +02:00
parent 0c03db4e8e
commit a319aea9f4

View file

@ -1998,7 +1998,8 @@ event_notification (struct nl_msg *msg, gpointer user_data)
}
nl_msg_parse (msg, ref_object, &object);
g_return_val_if_fail (object, NL_OK);
if (!object)
return NL_OK;
type = _nlo_get_object_type (object);