You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Vivek Nadkarni (JIRA)" <ji...@apache.org> on 2012/09/14 19:14:07 UTC
[jira] [Created] (AVRO-1164) Avro-C: Deallocate resources used in
test_avro_schema.c
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
[jira] [Updated] (AVRO-1164) Avro-C: Deallocate resources used in
test_avro_schema.c
Posted by "Vivek Nadkarni (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vivek Nadkarni updated AVRO-1164:
---------------------------------
Attachment: AVRO-1164.patch
Patch to fix AVRO-1164.
> 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
>
> Attachments: AVRO-1164.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
[jira] [Updated] (AVRO-1164) Avro-C: Deallocate resources used in
test_avro_schema.c
Posted by "Vivek Nadkarni (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vivek Nadkarni updated AVRO-1164:
---------------------------------
Status: Patch Available (was: Open)
Submit patch for review.
> 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
>
> Attachments: AVRO-1164.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
[jira] [Updated] (AVRO-1164) Avro-C: Deallocate resources used in
test_avro_schema.c
Posted by "Douglas Creager (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Douglas Creager updated AVRO-1164:
----------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Merged into SVN
> 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
>
> Attachments: AVRO-1164.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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