fix memory leak produced by 'corosync -v'

Signed-off-by: zouyu <hopkings2005@gmail.com>