lttvwindow: make it work again
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 12 Oct 2007 15:40:22 +0000 (15:40 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 12 Oct 2007 15:40:22 +0000 (15:40 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2670 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c

index 0340caf972aac5cf387732e510726ccc4a17ad42..4f77d883a695173b97fc73db4e5bd834bac5bddc 100644 (file)
@@ -1110,9 +1110,7 @@ void events_request_free(EventsRequest *events_request)
   if(events_request->hooks != NULL) {
     guint i;
     GArray *hooks = events_request->hooks;
-    for(i=0;i<hooks->len;i++) {
-      lttv_trace_hook_destroy(&g_array_index(hooks, LttvTraceHook, i));
-    }
+    lttv_trace_hook_remove_all(hooks);
     g_array_free(events_request->hooks, TRUE);
   }
   if(events_request->before_chunk_traceset != NULL)
This page took 0.024435 seconds and 4 git commands to generate.