Revert "fix shared memory leak"

This reverts commit 7225d1ce0d323098fe7c5a8e01922cc2571c16bb.
fix memory leak produced by 'corosync -v'

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