X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=inline;f=src%2Flib%2Flttng-ctl%2Fdestruction-handle.cpp;h=3882a587e830e12e61926b38c852ff7d08b9fb8d;hb=6c1db447784d69988f661477ad9eea7c0fddfa82;hp=d937b2c73c3693a26dadb38962363b34323625d0;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/destruction-handle.cpp b/src/lib/lttng-ctl/destruction-handle.cpp index d937b2c73..3882a587e 100644 --- a/src/lib/lttng-ctl/destruction-handle.cpp +++ b/src/lib/lttng-ctl/destruction-handle.cpp @@ -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;