[xsd-users] Question on garbage collection

Boris Kolpackov boris at codesynthesis.com
Tue Jun 19 09:14:09 EDT 2012


Hi Mayur,

Mayur Deshmukh <mdeshmukh at onenetwork.com> writes:

> Does Code synthesis / code generated by code synthesis take care 
> of garbage collection?

I am not sure what you mean by "garbage collection". If the generated
code allocates some objects dynamically, then it makes sure to free
them when no longer needed. However, if you allocate some things
dynamically (e.g., inside parsing callbacks), then it is your
responsibility to free them.

Boris



More information about the xsd-users mailing list