Fix: double-unlock of session mutex
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Apr 2015 20:11:15 +0000 (16:11 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Apr 2015 20:12:03 +0000 (16:12 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-events.c

index 053f125fa313a56d048fc5c0cd4c5ccff8e6526a..1ae894be3ea95b4e0ca11aaf90af605cd5b02a85 100644 (file)
@@ -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:
This page took 0.027054 seconds and 4 git commands to generate.