Clean-up: set stream's channel pointer to NULL after releasing ref
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 24 Aug 2019 23:58:48 +0000 (16:58 -0700)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 20:39:15 +0000 (16:39 -0400)
commita0f2df6020b257c96f9b1b7df84afad6a8d6d31b
treed346e66f71f7936bffdddcadb031277251a2e139
parent3206380a75771616cac679465a7a66184cb945f4
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 <jeremie.galarneau@efficios.com>
src/common/consumer/consumer.c
This page took 0.024524 seconds and 4 git commands to generate.