X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-abi.c;h=ac59d15a44bd3ecab5e7906d148114ab8c7b8561;hb=8db078dccf54f56edbcbd20cff2430b5e7540801;hp=d8150b6b15627cb2cee21adfabfd315e0a70bc63;hpb=710b8ee36eec50c00e72cb61e146357130e1d94c;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-abi.c b/liblttng-ust/lttng-ust-abi.c index d8150b6b..ac59d15a 100644 --- a/liblttng-ust/lttng-ust-abi.c +++ b/liblttng-ust/lttng-ust-abi.c @@ -37,6 +37,7 @@ * - Takes instrumentation source specific arguments. */ +#define _LGPL_SOURCE #include #include #include @@ -513,7 +514,6 @@ int lttng_abi_map_channel(int session_objd, /* error path after channel was created */ objd_error: notransport: - free(lttng_chan); alloc_error: channel_destroy(chan, channel_handle, 0); return ret;