fix leak in error condition when escaping string
fix leak in error condition when escaping string

gfriloux/esskyuehl,expertisesolutions/esskyuehl,expertisesolutions/esskyuehl,carloslack/esskyuehl,carloslack/esskyuehl,expertisesolutions/esskyuehl,gfriloux/esskyuehl,carloslack/esskyuehl