#include <string.h>
#include <lttng/ust-ctl.h>
#include <lttng/ust-abi.h>
-#include <lttng/usterr-signal-safe.h>
-#include <lttng/ust-comm.h>
#include <lttng/ust-events.h>
#include <sys/mman.h>
+#include <usterr-signal-safe.h>
+#include <ust-comm.h>
+
#include "../libringbuffer/backend.h"
#include "../libringbuffer/frontend.h"
ret = ustcomm_send_app_cmd(sock, &lum, &lur);
assert(!ret);
}
- free(data);
}
/*
error:
ustctl_release_object(sock, metadata_data);
+ free(metadata_data);
return -EINVAL;
}
error:
ustctl_release_object(sock, channel_data);
+ free(channel_data);
return -EINVAL;
}
error:
ustctl_release_object(sock, stream_data);
+ free(stream_data);
return -EINVAL;
}