From: compudj Date: Fri, 2 Jul 2004 16:06:57 +0000 (+0000) Subject: remove trace from traceset X-Git-Tag: v0.12.20~2873 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=443a558da5bb8eabe8663343a77caa757d052890;p=lttv.git remove trace from traceset git-svn-id: http://ltt.polymtl.ca/svn@616 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/batchtest.c b/ltt/branches/poly/lttv/lttv/batchtest.c index d7130271..f72733cb 100644 --- a/ltt/branches/poly/lttv/lttv/batchtest.c +++ b/ltt/branches/poly/lttv/lttv/batchtest.c @@ -722,6 +722,7 @@ static void destroy() nb = lttv_traceset_number(traceset); for(i = 0 ; i < nb ; i++) { trace = lttv_traceset_get(traceset, i); + lttv_traceset_remove(traceset,i); ltt_trace_close(lttv_trace(trace)); lttv_trace_destroy(trace); }