free H_BASE on cleanup