X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fwriter%2Fwriter.c;h=a7f4024bea014f814a1bedee25fe0ce89edd7abe;hb=64cadc660bbd0400df65da3534d28dbe59395ec7;hp=6d06468f83f3fe84b29593590b3021d0fcc1cb00;hpb=8f4799f74ca7304ef5f6cf0d30ae84039fb892fc;p=babeltrace.git diff --git a/plugins/writer/writer.c b/plugins/writer/writer.c index 6d06468f..a7f4024b 100644 --- a/plugins/writer/writer.c +++ b/plugins/writer/writer.c @@ -57,7 +57,7 @@ void destroy_writer_component_data(struct writer_component *writer_component) } static -void destroy_writer_component(struct bt_private_component *component) +void finalize_writer_component(struct bt_private_component *component) { struct writer_component *writer_component = (struct writer_component *) bt_private_component_get_user_data(component); @@ -301,5 +301,5 @@ BT_PLUGIN_SINK_COMPONENT_CLASS(writer, run); BT_PLUGIN_SINK_COMPONENT_CLASS_INIT_METHOD(writer, writer_component_init); BT_PLUGIN_SINK_COMPONENT_CLASS_ACCEPT_PORT_CONNECTION_METHOD(writer, writer_component_accept_port_connection); -BT_PLUGIN_SINK_COMPONENT_CLASS_DESTROY_METHOD(writer, destroy_writer_component); +BT_PLUGIN_SINK_COMPONENT_CLASS_FINALIZE_METHOD(writer, finalize_writer_component); BT_PLUGIN_SINK_COMPONENT_CLASS_DESCRIPTION(writer, "Formats CTF-IR to CTF.");