Vivek Nadkarni created AVRO-1164:
------------------------------------
Summary: Avro-C: Deallocate resources used in test_avro_schema.c
Key: AVRO-1164
URL: https://issues.apache.org/jira/browse/AVRO-1164
Project: Avro
Issue Type: Bug
Components: c
Affects Versions: 1.7.1
Environment: Ubuntu Linux 11.04
Reporter: Vivek Nadkarni
Priority: Trivial
Fix For: 1.7.2
There are a few resources that are allocated in test_avro_schema.c that are not
deallocated. This minor fix deallocates these resources. Specifically - a file
pointer, a directory entry and a schema that were allocated are now also
deallocated.
These resources leaks can be seen using valgrind. However, fixing these issues
doesn't resolve all valgrind issues, since there are other bugs that need to be
resolved (e.g. AVRO-766) before all valgrind issues can be resolved.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira