[ 
https://issues.apache.org/jira/browse/AVRO-766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15970129#comment-15970129
 ] 

John Gill commented on AVRO-766:
--------------------------------

Open a PR on GitHub for this issue. It fixe both AVRO-1167 and AVRO-766 at the 
same time.

> C: Memory leak from reference count cycles
> ------------------------------------------
>
>                 Key: AVRO-766
>                 URL: https://issues.apache.org/jira/browse/AVRO-766
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.5.0
>            Reporter: Douglas Creager
>         Attachments: AVRO-766.patch, ref-cycle.c
>
>
> If you parse a recursive Avro schema, you end up with a cycle in the 
> reference graph for the avro_schema_t objects that are created.  The 
> reference counting mechanism that we're using can't detect this, and so you 
> get a memory leak.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to