commit trace v2 before build test
[lttv.git] / trunk / lttv / lttv / lttv / hook.c
index c7b43a50b956c5517538ef28b6a63dd4db04d8ce..6578aebae5685d76d7cf5fbc90eef8efc2c08b7a 100644 (file)
@@ -409,7 +409,7 @@ gboolean lttv_hooks_call_check_merge(LttvHooks *h1, void *call_data1,
 LttvHooksById *lttv_hooks_by_id_new() 
 {
   LttvHooksById *h = g_new(LttvHooksById, 1);
-  h->index = g_ptr_array_sized_new(NUM_FACILITIES * AVG_EVENTS_PER_FACILITIES);
+  h->index = g_ptr_array_sized_new(PREALLOC_EVENTS);
   h->array = g_array_sized_new(FALSE, FALSE, sizeof(guint), 50);
   return h;
 }
This page took 0.023508 seconds and 4 git commands to generate.