Fix mem leak on writer