fixed memory leak in csoaa and more searn code