X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fplugins%2Flttng-utils%2Fdebug-info%2Ftrace-ir-mapping.c;h=c0916005122252ccfc7766fdc79c844a8671507b;hp=67f7a2db937a7d2de97c383956d4da11724cd4f4;hb=98f26e22c1ccebc5baa4d7edc6ef40246cc5de18;hpb=67af1e87d18817cc55b7445f67484db3a32682d4 diff --git a/src/plugins/lttng-utils/debug-info/trace-ir-mapping.c b/src/plugins/lttng-utils/debug-info/trace-ir-mapping.c index 67f7a2db..c0916005 100644 --- a/src/plugins/lttng-utils/debug-info/trace-ir-mapping.c +++ b/src/plugins/lttng-utils/debug-info/trace-ir-mapping.c @@ -232,10 +232,6 @@ bt_stream *trace_ir_mapping_create_new_mapped_stream( BT_COMP_LOGE_STR("Error creating output stream"); goto end; } - /* - * Release our ref since the trace object will be managing the life - * time of the stream objects. - */ copy_stream_content(in_stream, out_stream, ir_maps->log_level, ir_maps->self_comp); @@ -391,10 +387,6 @@ bt_packet *trace_ir_mapping_create_new_mapped_packet( goto end; } - /* - * Release our ref since the stream object will be managing the life - * time of the packet objects. - */ copy_packet_content(in_packet, out_packet, ir_maps->log_level, ir_maps->self_comp);