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:
b815bca
)
Fix: free viewer session in connection_free()
author
David Goulet
<dgoulet@efficios.com>
Wed, 5 Feb 2014 21:37:46 +0000
(16:37 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 11 Feb 2014 19:58:46 +0000
(14:58 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/connection.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-relayd/connection.c
b/src/bin/lttng-relayd/connection.c
index 28d0cb311e3541fa552d1b224edb9c1acf3acf01..f8315449a31052264847a608a5ef1a399c4ddf12 100644
(file)
--- a/
src/bin/lttng-relayd/connection.c
+++ b/
src/bin/lttng-relayd/connection.c
@@
-28,8
+28,7
@@
static void rcu_free_connection(struct rcu_head *head)
caa_container_of(head, struct relay_connection, rcu_node);
lttcomm_destroy_sock(conn->sock);
- free(conn->viewer_session);
- free(conn);
+ connection_free(conn);
}
struct relay_connection *connection_find_by_sock(struct lttng_ht *ht, int sock)
@@
-108,5
+107,6
@@
void connection_free(struct relay_connection *conn)
{
assert(conn);
+ free(conn->viewer_session);
free(conn);
}
This page took
0.025095 seconds
and
4
git commands to generate.