From: Julien Desfossez Date: Thu, 8 Mar 2012 21:14:39 +0000 (-0500) Subject: use bt_ctf_iter_destroy instead of generic destroy X-Git-Tag: v0.2~54 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=06570214a7aa236670706a1aac01c3f352e7454d;p=lttngtop.git use bt_ctf_iter_destroy instead of generic destroy Signed-off-by: Julien Desfossez --- diff --git a/src/lttngtop.c b/src/lttngtop.c index e4979eb..95bd383 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -434,7 +434,7 @@ void iter_trace(struct bt_context *bt_ctx) sem_wait(&end_trace_sem); end_iter: - bt_iter_destroy(bt_ctf_get_iter(iter)); + bt_ctf_iter_destroy(iter); } /*