* Fixed something in convert that caused memleaks on linux, but was fine on Widnows