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:25 +0000 (16:01 -0500)
commit87f05398efb9985607b1a312f58abfaee2ecc453
tree98d711af99452f68bd8d9dd077c6a3354d08c519
parent9dae4b67b602083719dff52d28fd50055c0e4222
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.024631 seconds and 4 git commands to generate.