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