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 19:31:49 +0000 (15:31 -0400)
commitb4324e73c1764ebf2d5d55ecceaa3bc1aaddd412
treedc35082422dd150be8f8f54f072d7f60e48262e4
parent9a51883cc7791d6beedfea6d2ee1e64ef7a7494b
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.02521 seconds and 4 git commands to generate.