From 5918607ca54fd945f688ad7903f5de4d9a34a49a Mon Sep 17 00:00:00 2001 From: inoussa Date: Thu, 11 Sep 2008 17:53:43 +0000 Subject: [PATCH] Fix memory leak in xsd parser ( TPropInfoReferenceList should free its items ) git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@554 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- wst/trunk/ws_helper/ws_parser_imp.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wst/trunk/ws_helper/ws_parser_imp.pas b/wst/trunk/ws_helper/ws_parser_imp.pas index d4903f1c1..9aeb8f6c6 100644 --- a/wst/trunk/ws_helper/ws_parser_imp.pas +++ b/wst/trunk/ws_helper/ws_parser_imp.pas @@ -1490,7 +1490,7 @@ end; constructor TPropInfoReferenceList.Create(); begin - FList := TObjectList.Create(False); + FList := TObjectList.Create(True); end; destructor TPropInfoReferenceList.Destroy();