From: Mathieu Desnoyers Date: Thu, 23 Apr 2015 20:11:15 +0000 (-0400) Subject: Fix: double-unlock of session mutex X-Git-Tag: v2.7.0-rc1~44 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=66fd8d5e4a6080f1b2db0f525c26c07e5b723aab;p=lttng-modules.git Fix: double-unlock of session mutex Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-events.c b/lttng-events.c index 053f125f..1ae894be 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -643,7 +643,6 @@ struct lttng_event *_lttng_event_create(struct lttng_channel *chan, } hlist_add_head(&event->hlist, head); list_add(&event->list, &chan->session->events); - mutex_unlock(&sessions_mutex); return event; statedump_error: