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:
32816a9
)
Fix: use after free error code path
author
David Goulet
<dgoulet@efficios.com>
Tue, 11 Feb 2014 21:04:15 +0000
(16:04 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 11 Feb 2014 21:04:15 +0000
(16:04 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/session.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-relayd/session.c
b/src/bin/lttng-relayd/session.c
index 02cc748e75f6fd8f25f3cf5e47623d7523c1affb..a9907c45d9c264a424b59646a08c47a9ffd033d3 100644
(file)
--- a/
src/bin/lttng-relayd/session.c
+++ b/
src/bin/lttng-relayd/session.c
@@
-52,6
+52,7
@@
struct relay_session *session_create(void)
session->ctf_traces_ht = lttng_ht_new(0, LTTNG_HT_TYPE_STRING);
if (!session->ctf_traces_ht) {
free(session);
+ session = NULL;
goto error;
}
This page took
0.025482 seconds
and
4
git commands to generate.