2010/11/5 Michael Van Canneyt :
Show quoted text 10 lines
I debugged some more. In procedure
ProcessInheritanceStrings(inhInfo:TStringList) the inhclass string list is created, but not freed. The trivial patch below fixes that. Another problem is the line:
if not assigned(CreateAliasType(alname,clname,cls,cls2)) thenThe return value of CreateAliasType doesn't seem to be freed/released. I don't know how to fix that.
Vincent
Index: utils/fpdoc/dglobals.pp
===================================================================
--- utils/fpdoc/dglobals.pp (revision 16307)
+++ utils/fpdoc/dglobals.pp (working copy)
@@ -856,7 +856,8 @@
cls2:=ResolveAndLinkClass(clname,j=0,cls);
end;
end;
-end;
+ inhclass.free;
+ end;
var
s, Name: String;