lib: add post condition assertions for current thread error after user functions
[babeltrace.git] / src / lib / trace-ir / trace-class.c
index d838fdcd0699610a9d5f9f22381fc2144eaf2a47..3e6a872c1666d46a369af24c67438abe4f34ee8e 100644 (file)
@@ -102,6 +102,7 @@ void destroy_trace_class(struct bt_object *obj)
 
                        if (elem.func) {
                                elem.func(tc, elem.data);
+                               BT_ASSERT_POST_NO_ERROR();
                        }
 
                        /*
This page took 0.023211 seconds and 4 git commands to generate.