Fix: Cleanup local_apps sock_info in lttng_ust_cleanup
[lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index 50e767654470c3d143b54eebe881a5b923b629ed..049667bf298d2122ffb904fc554b96744eb0083f 100644 (file)
@@ -1556,9 +1556,7 @@ static
 void lttng_ust_cleanup(int exiting)
 {
        cleanup_sock_info(&global_apps, exiting);
-       if (local_apps.allowed) {
-               cleanup_sock_info(&local_apps, exiting);
-       }
+       cleanup_sock_info(&local_apps, exiting);
        /*
         * The teardown in this function all affect data structures
         * accessed under the UST lock by the listener thread. This
This page took 0.022851 seconds and 4 git commands to generate.