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

(cherry picked from commit a319aea9f4)
This commit is contained in:
Thomas Haller 2015-04-14 17:54:36 +02:00
parent fa666781e5
commit a989eadec0

View file

@ -1996,7 +1996,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);