use bt_ctf_iter_destroy instead of generic destroy
authorJulien Desfossez <julien.desfossez@efficios.com>
Thu, 8 Mar 2012 21:14:39 +0000 (16:14 -0500)
committerJulien Desfossez <julien.desfossez@efficios.com>
Thu, 8 Mar 2012 21:14:39 +0000 (16:14 -0500)
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
src/lttngtop.c

index e4979ebb1f2bd68e178a5d201fd9e247c2286b0f..95bd383e6d8b4f4b8f8d5c11cfe114b7f16b5052 100644 (file)
@@ -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);
 }
 
 /*
This page took 0.031007 seconds and 4 git commands to generate.