projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e123b80
)
Fix: ressource leak in error path
author
David Goulet
<dgoulet@efficios.com>
Mon, 4 Nov 2013 20:47:17 +0000
(15:47 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Mon, 4 Nov 2013 20:47:17 +0000
(15:47 -0500)
Fix coverity issue
1107347
.
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/jul.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/jul.c
b/src/bin/lttng-sessiond/jul.c
index a16e9b34b6ce34314bc90150b3e0a9ae61685bb0..8b57b8d70cd7215fbfe393e76be097a6ce01f68c 100644
(file)
--- a/
src/bin/lttng-sessiond/jul.c
+++ b/
src/bin/lttng-sessiond/jul.c
@@
-452,6
+452,7
@@
int jul_list_events(struct lttng_event **events)
PERROR("realloc JUL events");
ret = -ENOMEM;
rcu_read_unlock();
+ free(jul_events);
goto error;
}
tmp_events = ptr;
This page took
0.027928 seconds
and
4
git commands to generate.