Cleanup: libringbuffer: remove duplicate shmp() invocations in slow paths
[lttng-ust.git] / liblttng-ust / lttng-ust-abi.c
index d8150b6b15627cb2cee21adfabfd315e0a70bc63..ac59d15a44bd3ecab5e7906d148114ab8c7b8561 100644 (file)
@@ -37,6 +37,7 @@
  *     - Takes instrumentation source specific arguments.
  */
 
+#define _LGPL_SOURCE
 #include <lttng/ust-abi.h>
 #include <lttng/ust-error.h>
 #include <urcu/compiler.h>
@@ -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;
This page took 0.023664 seconds and 4 git commands to generate.