fixed memory leak in new_bloom