]> git.lttng.org Git - lttng-ust.git/commitdiff
Fix: add missing ust lock around objd_table_destroy()
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Aug 2015 23:11:56 +0000 (16:11 -0700)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Aug 2015 23:22:13 +0000 (16:22 -0700)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-abi.c

index 7e513a98d09393c4d379e791406d3c151ee1df10..c06f69dca5a0982d28ed00e45fadd0ea5ae4446c 100644 (file)
@@ -989,6 +989,8 @@ static const struct lttng_ust_objd_ops lttng_enabler_ops = {
 void lttng_ust_abi_exit(void)
 {
        lttng_ust_abi_close_in_progress = 1;
+       ust_lock_nocheck();
        objd_table_destroy();
+       ust_unlock();
        lttng_ust_abi_close_in_progress = 0;
 }
This page took 0.029335 seconds and 4 git commands to generate.