X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Fust-app.c;h=0cc19481cb6bb722e2b33d8e481cb17a84165d30;hp=e22a5929ecf77322a68a48a776b5380e999c4eb4;hb=1e3a10e37a519046fd49c77f2fa23807b132f330;hpb=44844c295aff9928684eb5450e25b3e42997f9a7 diff --git a/lttng-sessiond/ust-app.c b/lttng-sessiond/ust-app.c index e22a5929e..0cc19481c 100644 --- a/lttng-sessiond/ust-app.c +++ b/lttng-sessiond/ust-app.c @@ -113,7 +113,6 @@ static struct ust_app *find_app_by_sock(int sock) (void *)((unsigned long) sock), sizeof(void *), &iter); if (node == NULL) { DBG2("UST app find by sock %d key not found", sock); - rcu_read_unlock(); goto error; } @@ -123,7 +122,6 @@ static struct ust_app *find_app_by_sock(int sock) (void *)((unsigned long) key->pid), sizeof(void *), &iter); if (node == NULL) { DBG2("UST app find by sock %d not found", sock); - rcu_read_unlock(); goto error; }