Version 2.5.7
[lttng-ust.git] / liblttng-ust / lttng-ust-abi.c
index 7e513a98d09393c4d379e791406d3c151ee1df10..c5cc42b727c107a26d1466cea45227072643aa0c 100644 (file)
@@ -467,8 +467,6 @@ int lttng_abi_map_channel(int session_objd,
                chan_name = "channel";
                break;
        default:
-               transport_name = "<unknown>";
-               chan_name = "<unknown>";
                ret = -EINVAL;
                goto notransport;
        }
@@ -989,6 +987,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.022957 seconds and 4 git commands to generate.