projects
/
lttng-tools.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 jul_list_events
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
jul.c
diff --git
a/src/bin/lttng-sessiond/jul.c
b/src/bin/lttng-sessiond/jul.c
index 318d511651e3147061a715703bda1631d16d2f48..a16e9b34b6ce34314bc90150b3e0a9ae61685bb0 100644
(file)
--- a/
src/bin/lttng-sessiond/jul.c
+++ b/
src/bin/lttng-sessiond/jul.c
@@
-450,7
+450,6
@@
int jul_list_events(struct lttng_event **events)
ptr = realloc(tmp_events, nbmem * sizeof(*tmp_events));
if (!ptr) {
PERROR("realloc JUL events");
- free(tmp_events);
ret = -ENOMEM;
rcu_read_unlock();
goto error;
This page took
0.022658 seconds
and
4
git commands to generate.