From: Jérémie Galarneau Date: Sat, 24 Aug 2019 23:58:48 +0000 (-0700) Subject: Clean-up: set stream's channel pointer to NULL after releasing ref X-Git-Tag: v2.12.0-rc1~493 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=a6ef8ee6a852f9fa6394408fcc8d4d49891852d9;hp=a6ef8ee6a852f9fa6394408fcc8d4d49891852d9;p=lttng-tools.git Clean-up: set stream's channel pointer to NULL after releasing ref A stream's "chan" pointer to its parent channel remains set after the reference to the channel has been released. This can lead to accidental uses after the release of the channel through the stream object. Signed-off-by: Jérémie Galarneau ---