Fix RBin & RLang related crashes (fix lot of memleaks and dblfrees)