From 8cc9065fc15a5aaa5841ef8b994e2128c3b12bc7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 7 Sep 2016 21:00:46 -0400 Subject: [PATCH] Fix source component memory leak MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- plugins/ctf/fs/fs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/ctf/fs/fs.c b/plugins/ctf/fs/fs.c index cf00fddd9..b80e4e152 100644 --- a/plugins/ctf/fs/fs.c +++ b/plugins/ctf/fs/fs.c @@ -57,6 +57,7 @@ struct bt_notification *ctf_fs_iterator_get( notification = bt_get(ctf_fs->current_notification); end: + BT_PUT(component); return notification; } @@ -86,6 +87,7 @@ enum bt_notification_iterator_status ctf_fs_iterator_next( bt_put(ctf_fs->current_notification); ctf_fs->current_notification = notification; end: + BT_PUT(component); return ret; } -- 2.34.1