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 79d6e7ffd1cb24ad242fe4d52fbe7c0065d02f62..3c7cd5b4fd9f0c936a6e4b59504e7bfb724cc3a2 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.023042 seconds
and
4
git commands to generate.