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 21:01:57 +0000 (16:01 -0500)
commit504e362ffb535a616364a82f3de68b92d4c9663d
tree2b5bfcd05d263b49146d32743694821aecec106d
parentf0108ed540621afa523e1bf2e0374ee0c34be3a6
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.025177 seconds and 4 git commands to generate.