Fix bad release memory
Fix bad release memory