X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fdestruction-handle.cpp;fp=src%2Flib%2Flttng-ctl%2Fdestruction-handle.cpp;h=0bfa303d804392107b612893cf50117a88c13bb6;hp=35a1c358225376de7c7a3fa5de1614a93e8c9312;hb=1c9a0b0e83c7e073c4e576c0bed95de335b0e502;hpb=c10f9cdd994258358bb3766c2e92dab71e4ceef2 diff --git a/src/lib/lttng-ctl/destruction-handle.cpp b/src/lib/lttng-ctl/destruction-handle.cpp index 35a1c3582..0bfa303d8 100644 --- a/src/lib/lttng-ctl/destruction-handle.cpp +++ b/src/lib/lttng-ctl/destruction-handle.cpp @@ -391,6 +391,10 @@ enum lttng_error_code lttng_destroy_session_ext(const char *session_name, enum lttng_error_code ret_code = LTTNG_OK; struct lttcomm_session_msg lsm = { .cmd_type = LTTNG_DESTROY_SESSION, + .session = {}, + .domain = {}, + .u = {}, + .fd_count = 0, }; int sessiond_socket = -1; struct lttng_destruction_handle *handle = NULL;