Fix useless context hashtable size and segfault on destroy
authorDavid Goulet <david.goulet@polymtl.ca>
Tue, 8 Nov 2011 17:28:34 +0000 (12:28 -0500)
committerDavid Goulet <david.goulet@polymtl.ca>
Tue, 8 Nov 2011 17:28:34 +0000 (12:28 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
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 */
        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;
 
 
        return lue;
 
This page took 0.025208 seconds and 4 git commands to generate.