Clean-up: sessiond: ust-app: ua_sess is never populated on failure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 15 May 2023 19:49:04 +0000 (15:49 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 15 Jun 2023 15:56:25 +0000 (11:56 -0400)
commit6d2f8aae34a4e1e219a29db407dd0ea6805b690b
treec940bad725ddb9312134301d105240de45af05e3
parentf38b11e104c2f6e916f83617f14e643e73ca917b
Clean-up: sessiond: ust-app: ua_sess is never populated on failure

When find_or_create_ust_app_session() fails, it doesn't populate its
return parameter. Therefore, it is unnecessary to destroy the app
session when it returns < 0.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I8f5cc75f718d96d32fb67fc67135034eb95365d7
src/bin/lttng-sessiond/ust-app.cpp
This page took 0.025268 seconds and 4 git commands to generate.