X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fdestruction-handle.cpp;h=3882a587e830e12e61926b38c852ff7d08b9fb8d;hb=64803277bbdbe0a943360d918298a48157d9da55;hp=0bfa303d804392107b612893cf50117a88c13bb6;hpb=1c9a0b0e83c7e073c4e576c0bed95de335b0e502;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/destruction-handle.cpp b/src/lib/lttng-ctl/destruction-handle.cpp index 0bfa303d8..3882a587e 100644 --- a/src/lib/lttng-ctl/destruction-handle.cpp +++ b/src/lib/lttng-ctl/destruction-handle.cpp @@ -8,16 +8,16 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "lttng-ctl-helper.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "lttng-ctl-helper.hpp" #include #include @@ -69,7 +69,7 @@ struct lttng_destruction_handle *lttng_destruction_handle_create( int sessiond_socket) { int ret; - struct lttng_destruction_handle *handle = (lttng_destruction_handle *) zmalloc(sizeof(*handle)); + struct lttng_destruction_handle *handle = zmalloc(); if (!handle) { goto end;