X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fgraph%2Fgraph.h;h=ac431d2a3635132882c50be765d72faaec87fe60;hb=6ecdcca3de0dea694cdfb252160c7939f7dc2ef1;hp=4e8daa27deb0c1f278ed41c5cc39817562260be5;hpb=d747e85f873b9938b3ac6cb8fdec5e292eb3a051;p=babeltrace.git diff --git a/src/lib/graph/graph.h b/src/lib/graph/graph.h index 4e8daa27..ac431d2a 100644 --- a/src/lib/graph/graph.h +++ b/src/lib/graph/graph.h @@ -257,6 +257,7 @@ int bt_graph_configure(struct bt_graph *graph) comp_status == BT_FUNC_STATUS_MEMORY_ERROR, "Unexpected returned status: status=%s", bt_common_func_status_string(comp_status)); + BT_ASSERT_POST_NO_ERROR_IF_NO_ERROR_STATUS(comp_status); if (comp_status != BT_FUNC_STATUS_OK) { if (comp_status < 0) { BT_LIB_LOGW_APPEND_CAUSE(