X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fdestruction-handle.c;h=55e1604363bfd87648b91f7937fdcb58771d0c84;hp=d2559646f8c18201f0a16e70cfffd9f81fe6aa2c;hb=cb98e7dd0dccc3b79b4f54d64be67f6d548f8933;hpb=e9af56b3027eebc314384a797c01e6a7e35c8fd2 diff --git a/src/lib/lttng-ctl/destruction-handle.c b/src/lib/lttng-ctl/destruction-handle.c index d2559646f..55e160436 100644 --- a/src/lib/lttng-ctl/destruction-handle.c +++ b/src/lib/lttng-ctl/destruction-handle.c @@ -404,7 +404,7 @@ enum lttng_error_code lttng_destroy_session_ext(const char *session_name, int sessiond_socket = -1; struct lttng_destruction_handle *handle = NULL; - if (!session_name || !handle) { + if (!session_name || !_handle) { ret_code = LTTNG_ERR_INVALID; goto error; }