Add channel deallocate special function