X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2FbatchAnalysis.c;h=83d46f2d22a2a1f46a1c571f3c1dacaeeff61bf2;hb=41f18f3ef43db3c0f71b5bf232d27f7004673aef;hp=0a7d9dd10b50af66ab65759539eae129b6abda64;hpb=d83f67398f1bf3c1f1372570c009071622626e4e;p=lttv.git diff --git a/ltt/branches/poly/lttv/batchAnalysis.c b/ltt/branches/poly/lttv/batchAnalysis.c index 0a7d9dd1..83d46f2d 100644 --- a/ltt/branches/poly/lttv/batchAnalysis.c +++ b/ltt/branches/poly/lttv/batchAnalysis.c @@ -136,10 +136,13 @@ G_MODULE_EXPORT void destroy() lttv_hooks_destroy(after_tracefile); lttv_hooks_destroy(before_event); lttv_hooks_destroy(after_event); + lttv_hooks_remove_data(main_hooks, process_traceset, NULL); nb = lttv_traceset_number(traceset); for(i = 0 ; i < nb ; i++) { ltt_trace_close(lttv_traceset_get(traceset, i)); } + + lttv_traceset_destroy(traceset); }