X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Flttng-ctl.c;h=9ea891e92f980d037a47328a83ddeb79c4ec8c26;hp=3e532ad60067c6db4a454eb2d4d6b3ab890a6d7e;hb=0e428499a49b2335f4859058739fa2b20f4c410f;hpb=9d035200e9006c4d4cf6951c54641e06c0bdf2bc diff --git a/src/lib/lttng-ctl/lttng-ctl.c b/src/lib/lttng-ctl/lttng-ctl.c index 3e532ad60..9ea891e92 100644 --- a/src/lib/lttng-ctl/lttng-ctl.c +++ b/src/lib/lttng-ctl/lttng-ctl.c @@ -636,9 +636,7 @@ end: */ void lttng_destroy_handle(struct lttng_handle *handle) { - if (handle) { - free(handle); - } + free(handle); } /*