Verified Commit 15156f54 authored by Beniamino Galvani's avatar Beniamino Galvani Committed by Thomas Haller

libnm: fix assertion in NML_IS_DBUS_OBJECT()

Reported by coverity:

>>> CID 210228: Null pointer dereferences (REVERSE_INULL)
>>> Null-checking "dbobj" suggests that it may be null, but it has
    already been dereferenced on all paths leading to the check.

Fixes: ce0e898f ('libnm: refactor caching of D-Bus objects in NMClient')
(cherry picked from commit 272f1910)
(cherry picked from commit 144e7e40)
parent a1a3cce6
Pipeline #195772 canceled with stage