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:
ed59498
)
Fix: Use after free on spawn_sessiond error path in check_sessiond
author
Christian Babeux
<christian.babeux@efficios.com>
Thu, 28 Feb 2013 20:48:30 +0000
(15:48 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Thu, 21 Mar 2013 17:16:15 +0000
(13:16 -0400)
Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/lttng.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng/lttng.c
b/src/bin/lttng/lttng.c
index 85621444c32cb1b34f217dc2ec95ae9315c8cf29..be673f94f2d0ab552c4f9daa3f90bff70637b2d1 100644
(file)
--- a/
src/bin/lttng/lttng.c
+++ b/
src/bin/lttng/lttng.c
@@
-374,13
+374,12
@@
static int check_sessiond(void)
}
ret = spawn_sessiond(pathname);
- free(alloc_pathname);
if (ret < 0) {
ERR("Problem occurred when starting %s", pathname);
- goto end;
}
- }
+ free(alloc_pathname);
+ }
end:
return ret;
}
This page took
0.030576 seconds
and
4
git commands to generate.