projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
struct lttng_channel: split protocol ABI from instrumentation ABI
[lttng-ust.git]
/
liblttng-ust
/
lttng-events.c
diff --git
a/liblttng-ust/lttng-events.c
b/liblttng-ust/lttng-events.c
index 625d98af7e8a7d5549da43f0860a3a53fc97dd01..d5fd9fee2f04b5636a4288e590a901ff8adf72d7 100644
(file)
--- a/
liblttng-ust/lttng-events.c
+++ b/
liblttng-ust/lttng-events.c
@@
-239,11
+239,8
@@
void _lttng_channel_unmap(struct lttng_channel *lttng_chan)
lttng_destroy_context(lttng_chan->ctx);
chan = lttng_chan->chan;
handle = lttng_chan->handle;
lttng_destroy_context(lttng_chan->ctx);
chan = lttng_chan->chan;
handle = lttng_chan->handle;
- /*
- * note: lttng_chan is private data contained within handle. It
- * will be freed along with the handle.
- */
channel_destroy(chan, handle, 0);
channel_destroy(chan, handle, 0);
+ free(lttng_chan);
}
static
}
static
This page took
0.032545 seconds
and
4
git commands to generate.