X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-comm.c;h=7d885a551e2f289f4f11728613d1d1fdc4a38d52;hb=6db646dfa4f2b82dd98d145a58f9206c8b68f09e;hp=7c746d8a712a2d30c271a016d92bec53673fb971;hpb=ee7fcec8c059c5b203d6aa5df7ceef414a55505c;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index 7c746d8a..7d885a55 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -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