From e03e333243078aa3a78a77b1226c0ded7673eeff Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 8 Nov 2011 12:28:34 -0500 Subject: [PATCH] Fix useless context hashtable size and segfault on destroy Signed-off-by: David Goulet --- lttng-sessiond/trace-ust.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lttng-sessiond/trace-ust.c b/lttng-sessiond/trace-ust.c index a1715f253..f52b0b45f 100644 --- a/lttng-sessiond/trace-ust.c +++ b/lttng-sessiond/trace-ust.c @@ -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; -- 2.34.1