X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Flib%2Fplugin.c;h=e7bff6dda6b19ed8f21944674d8ab1c8b0f58081;hp=6ef8d5db44c8871693bc107dbf9967b27e6d9bc0;hb=246d5223941beafb4deca726b6a5ea8b61928e54;hpb=92c09281bbdf888b36746ef3af7d7a2a7f92ff68 diff --git a/tests/lib/plugin.c b/tests/lib/plugin.c index 6ef8d5db..e7bff6dd 100644 --- a/tests/lib/plugin.c +++ b/tests/lib/plugin.c @@ -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);