relayd: move viewer stream chunk reference release to destroy
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 17:47:08 +0000 (13:47 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 18:33:21 +0000 (14:33 -0400)
commitdc3bfa8d4cbb95c7420673b677ef1b2447673642
tree9490c29a5085784e821cdcac0ab1fdcc5e60c9f7
parentc06fdd9537c38a3c77512a4439fb6f292b2ccfb9
relayd: move viewer stream chunk reference release to destroy

Move the viewer stream's release of its trace chunk to the destroy
method (as opposed to the release method) as destroy is used directly
when an error occurs in the viewer stream's creation function.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/viewer-stream.c
This page took 0.025834 seconds and 5 git commands to generate.