AVRO-930. C: Fixed memory leak in resolved writer class Thanks to Vivek Nadkarni for finding this and submitting a patch.