Fixed leak - thanks to Vipin