Fix useless context hashtable size and segfault on destroy
[lttng-tools.git] / lttng-sessiond / trace-ust.c
index a1715f2532e793b7793c6fafb3c9ae062d978898..f52b0b45f009d01c876632833023f91751d78b02 100644 (file)
@@ -221,7 +221,7 @@ struct ltt_ust_event *trace_ust_create_event(struct lttng_event *ev)
        hashtable_node_init(&lue->node, (void *) lue->attr.name,
                        strlen(lue->attr.name));
        /* Alloc context hash tables */
-       lue->ctx = hashtable_new_str(5);
+       lue->ctx = hashtable_new_str(0);
 
        return lue;
 
This page took 0.022805 seconds and 4 git commands to generate.