Description
There is a possible crash error in codec cleanup code. Test-case is simple: you need to call an "avro_file_writer_open" function with wrong file name (i.e. non-existent file). Valgrind output:
==15259== Conditional jump or move depends on uninitialised value(s)
==15259== at 0x40340A9: avro_codec_reset (in /home/mpugachev/work/avro-trunk/lang/c/src/libavro.so.22.0.0)
==15259== by 0x4035FBC: avro_file_writer_open (in /home/mpugachev/work/avro-trunk/lang/c/src/libavro.so.22.0.0)
==15259== by 0x80485B0: main (in /home/mpugachev/work/test/avro/example4)