[fpc-devel] memleak in fpdoc

Marco van de Voort marcov at stack.nl
Sun Nov 7 12:22:15 CET 2010


In our previous episode, Michael Van Canneyt said:
> >   if not assigned(CreateAliasType(alname,clname,cls,cls2)) then
> > The return value of CreateAliasType doesn't seem to be freed/released.
> > I don't know how to fix that.
> 
> It should be freed, because it is added to the list of declarations:
>    module.interfacesection.Declarations.Add(Result);

That line was added by me yesterday in response to the same mail.
 



More information about the fpc-devel mailing list