lib: add post condition assertions for current thread error after user functions
[babeltrace.git] / src / lib / graph / component.c
index d9f233eec4c0d3714f0e8cad4a6d0943aa03e9a1..b5591c9eb4f48152eed3bb76e6ed80022d109a98 100644 (file)
@@ -553,6 +553,7 @@ bt_component_port_connected(
                        status == BT_FUNC_STATUS_MEMORY_ERROR,
                        "Unexpected returned component status: status=%s",
                        bt_common_func_status_string(status));
+               BT_ASSERT_POST_NO_ERROR_IF_NO_ERROR_STATUS(status);
        }
 
        return status;
This page took 0.02491 seconds and 4 git commands to generate.