Fix: put viewer stream on send error
A message that is not in the archive (sent off-list or not yet received): [email protected]
Squashed into "Fix: Relay daemon ownership and reference counting".
Thanks!
Jérémie
Quoted 24 lines · Mathieu Desnoyers
Signed-off-by Mathieu Desnoyers <[email protected]>--- src/bin/lttng-relayd/live.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/bin/lttng-relayd/live.c +1
-2@@ -243,10 +243,10 @@ ssize_t send_viewer_streams(struct lttcomm_sock *sock,pthread_mutex_unlock (&vstream->stream->lock); ret =send_response (sock, &send_stream,sizeof (send_stream)); +viewer_stream_put (vstream);if (ret <0 ) { goto end_unlock; } -viewer_stream_put (vstream); } ret =0 ; --2.1.4
Signature · 8 lines
Jérémie Galarneau EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev