Fix: Cleanup local_apps sock_info in lttng_ust_cleanup
[deliverable/lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index 7c746d8a712a2d30c271a016d92bec53673fb971..7d885a551e2f289f4f11728613d1d1fdc4a38d52 100644 (file)
@@ -1561,9 +1561,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.024802 seconds and 5 git commands to generate.