Fix: double unlock of metadata mutex on error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 20 Dec 2016 20:00:04 +0000 (15:00 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 20 Dec 2016 20:02:39 +0000 (15:02 -0500)
commit1caeb2ebea17673efa6123f060fd77d2cc0df7ef
treefeac991b99800f0a68cc2c21f7a7e2b239dc2d4d
parent84811b9b3552a24a5f12871f94b60b9b4c48d8f5
Fix: double unlock of metadata mutex on error

lttng_ustconsumer_sync_metadata must leave the metadata lock
in its initial state. Otherwise an error may result in a
double unlock in the caller.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/ust-consumer/ust-consumer.c
This page took 0.025682 seconds and 4 git commands to generate.