Browse Source

* Fix bug #34216

git-svn-id: trunk@39706 -
michael 7 years ago
parent
commit
d8e483ddd4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/chm/src/chmreader.pas

+ 4 - 0
packages/chm/src/chmreader.pas

@@ -416,6 +416,8 @@ procedure TChmReader.ReadCommonData;
        end;
      end;
      ReadWindows(FWindows);
+     fWindows.Free;
+     fStrings.Free;
    end;
    procedure ReadContextIds;
    var
@@ -441,6 +443,8 @@ procedure TChmReader.ReadCommonData;
        Str := '/'+ ReadString(fStrings, Offset, True);
        fContextList.AddContext(Value, Str);
      end;
+     fIVB.Free;
+     fStrings.Free;
    end;
 begin
    ReadFromSystem;