Arrumado o memory leak