From 34101229f363ec19ce2deac84f138e393474595f Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Thu, 25 May 2017 14:51:03 -0400 Subject: [PATCH] Fix debug-info leak: unbalanced get/put MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julien Desfossez Signed-off-by: Jérémie Galarneau --- plugins/lttng-utils/copy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/lttng-utils/copy.c b/plugins/lttng-utils/copy.c index be170a54..385d55c4 100644 --- a/plugins/lttng-utils/copy.c +++ b/plugins/lttng-utils/copy.c @@ -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: -- 2.34.1