position ok with processing
[lttv.git] / ltt / branches / poly / lttv / lttv / batchtest.c
index ec9472545cfb58be8b0d13804d17a5fa12023a11..f72733cb6152d99e9b29e7abdf6d3f2514cccd32 100644 (file)
@@ -673,7 +673,7 @@ static void init()
   //g_assert(lttv_iattribute_find_by_path(attributes, "hooks/event/after",
   //    LTTV_POINTER, &value));
   //*(value.v_pointer) = after_event;
-  g_assert(lttv_iattribute_find_by_path(attributes, "hooks/event/event_hook",
+  g_assert(lttv_iattribute_find_by_path(attributes, "hooks/event",
       LTTV_POINTER, &value));
   *(value.v_pointer) = event_hook;
   g_assert(lttv_iattribute_find_by_path(attributes, "hooks/main/before",
@@ -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);
   }
This page took 0.02417 seconds and 4 git commands to generate.