fix potential mem leak in releasing hash