projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: use after free in channel release
[lttng-modules.git]
/
lttng-abi.c
diff --git
a/lttng-abi.c
b/lttng-abi.c
index 8f63ad94c8fb053d9178aa91aa71d14d317f4e1b..bc0a0f6e4dd7516c09b280f1b4379c7972624166 100644
(file)
--- a/
lttng-abi.c
+++ b/
lttng-abi.c
@@
-1286,8
+1286,8
@@
int lttng_metadata_channel_release(struct inode *inode, struct file *file)
struct lttng_channel *channel = file->private_data;
if (channel) {
- lttng_metadata_channel_destroy(channel);
fput(channel->session->file);
+ lttng_metadata_channel_destroy(channel);
}
return 0;
This page took
0.024012 seconds
and
4
git commands to generate.