More memory-leaks fixed
Fixed ressource leak