Corrected possible memory leak + started round end

Signed-off-by: Lasconik <caillouxnicolas@gmail.com>