Fix double free for data.channel

Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
5 jobs for master