projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-svn-id: http://ltt.polymtl.ca/svn@225 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
batchAnalysis.c
diff --git
a/ltt/branches/poly/lttv/batchAnalysis.c
b/ltt/branches/poly/lttv/batchAnalysis.c
index 0a7d9dd10b50af66ab65759539eae129b6abda64..0f169c717603ecadad8152e67381910230b14f0c 100644
(file)
--- a/
ltt/branches/poly/lttv/batchAnalysis.c
+++ b/
ltt/branches/poly/lttv/batchAnalysis.c
@@
-124,8
+124,6
@@
G_MODULE_EXPORT void destroy()
{
guint i, nb;
{
guint i, nb;
- lttv_hooks_remove_data(main_hooks, process_traceset, NULL);
-
lttv_option_remove("trace");
lttv_hooks_destroy(before_traceset);
lttv_option_remove("trace");
lttv_hooks_destroy(before_traceset);
@@
-136,10
+134,13
@@
G_MODULE_EXPORT void destroy()
lttv_hooks_destroy(after_tracefile);
lttv_hooks_destroy(before_event);
lttv_hooks_destroy(after_event);
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));
}
nb = lttv_traceset_number(traceset);
for(i = 0 ; i < nb ; i++) {
ltt_trace_close(lttv_traceset_get(traceset, i));
}
+
+ lttv_traceset_destroy(traceset);
}
}
This page took
0.023437 seconds
and
4
git commands to generate.