From: Jérémie Galarneau Date: Tue, 3 Dec 2019 09:59:10 +0000 (-0500) Subject: Fix: relayd: missing metadata stream causes all traces to be skipped X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=3d7708ff51bfae7a01b7062d1f2567b2854ec374;hp=3d7708ff51bfae7a01b7062d1f2567b2854ec374 Fix: relayd: missing metadata stream causes all traces to be skipped Commit 123ed7c22 intends for a trace that doesn't have a metadata stream to be skipped when creating viewer streams. However, the loop over ctf_traces should be "continued" rather then "broken" from when this situation arises. Otherwise, all ctf_traces of the session are skipped, which is not the intention here. Moreover, a reference to the current ctf_trace is leaked when the break (now continue) occurs. Signed-off-by: Jérémie Galarneau Change-Id: Ic630521c6f050c77a78f2c1e20c5741a6b3a66a1 ---