Fix debug-info leak: unbalanced get/put
[babeltrace.git] / plugins / lttng-utils / copy.c
index be170a547fb7a7d91142158c8e93cea1c12bcf83..385d55c46027c8cba7801494ccfa55cb3c55ab56 100644 (file)
@@ -1112,6 +1112,7 @@ struct bt_ctf_stream *debug_info_stream_end(struct debug_info_iterator *debug_it
                                __func__, __FILE__, __LINE__);
                goto end;
        }
+       bt_get(writer_stream);
        g_hash_table_remove(debug_it->stream_map, stream);
 
 end:
This page took 0.024089 seconds and 4 git commands to generate.