Skip to content
Browse files
* Use weak reference to free data properly and prevent memory leak.
  • Loading branch information
mremec committed Mar 29, 2017
1 parent 4058633 commit c79010a9670d33e6e3246fe5f865ba6d7413cf8d
Showing with 1 addition and 1 deletion.
  1. +1 −1 OmniXML.pas
@@ -1974,7 +1974,7 @@ procedure TXMLParseError.SetURL(const URL: string);

type TNotifyingList = class({$IFDEF OmniXML_Generics}TList<IXMLNode>{$Else}TList{$EndIf})
Owner: TXMLCustomList;
{$IFDEF AUTOREFCOUNT} [weak] {$ENDIF} Owner: TXMLCustomList;
{$IfDef OmniXML_Generics}
procedure Notify(const Item: IXMLNode; Action: TCollectionNotification); override;

0 comments on commit c79010a

Please sign in to comment.