Commit de750ace authored by Thomas Haller's avatar Thomas Haller

platform: assert for valid argument in nmp_object_unref()

parent 6493bd44
......@@ -467,6 +467,8 @@ nmp_object_ref (const NMPObject *obj)
static inline void
nmp_object_unref (const NMPObject *obj)
nm_assert (!obj || NMP_OBJECT_IS_VALID (obj));
nm_dedup_multi_obj_unref ((const NMDedupMultiObj *) obj);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment