Fixed bugreport:8234, memleak leftover from channel.c

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>