lib: graph API: return borrowed references when adding to an object
[babeltrace.git] / tests / lib / plugin.c
index 6ef8d5db44c8871693bc107dbf9967b27e6d9bc0..e7bff6dda6b19ed8f21944674d8ab1c8b0f58081 100644 (file)
@@ -204,7 +204,6 @@ static void test_sfs(const char *plugin_dir)
                "the-sink", NULL, BT_LOGGING_LEVEL_NONE, &sink_component);
        ok(graph_ret == BT_GRAPH_ADD_COMPONENT_STATUS_OK && sink_component,
                "bt_graph_add_sink_component() still works after the plugin object is destroyed");
-       BT_COMPONENT_SINK_PUT_REF_AND_RESET(sink_component);
        bt_graph_put_ref(graph);
 
        free(sfs_path);
This page took 0.023509 seconds and 4 git commands to generate.