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:
df41f83
)
Fix: wrong sizeof argument in live viewer create session
author
David Goulet
<dgoulet@efficios.com>
Tue, 11 Feb 2014 20:58:52 +0000
(15:58 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 11 Feb 2014 20:58:52 +0000
(15:58 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/live.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-relayd/live.c
b/src/bin/lttng-relayd/live.c
index 099257da29ad3695a6f75f9e896fb235932dfe76..c70c31762f7d7f0dd7c40e63acffadf3a1d46c4b 100644
(file)
--- a/
src/bin/lttng-relayd/live.c
+++ b/
src/bin/lttng-relayd/live.c
@@
-1635,7
+1635,7
@@
int viewer_create_session(struct relay_connection *conn)
DBG("Viewer create session received");
resp.status = htobe32(LTTNG_VIEWER_CREATE_SESSION_OK);
- conn->viewer_session = zmalloc(sizeof(conn->viewer_session));
+ conn->viewer_session = zmalloc(sizeof(
*
conn->viewer_session));
if (!conn->viewer_session) {
ERR("Allocation viewer session");
resp.status = htobe32(LTTNG_VIEWER_CREATE_SESSION_ERR);
This page took
0.026903 seconds
and
4
git commands to generate.