Memory leak and thread safety