Add some configure macro
Clear the memory when malloc