mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-18 07:10:27 +01:00
platform: don't assert against success of nl_msg_parse()
(cherry picked from commit a319aea9f4)
This commit is contained in:
parent
fa666781e5
commit
a989eadec0
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue