free managed pointers
Merge