소스 검색

* applied a memory leak fix by Charlie Ikeson

git-svn-id: trunk@87 -
florian 20 년 전
부모
커밋
d4883186ed
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      packages/base/md5/md5.pp

+ 1 - 0
packages/base/md5/md5.pp

@@ -351,6 +351,7 @@ begin
       If (Count>0) then
         MD5Update(Context, Buf^, Count);
     Until (Count<BufSize);
+    FreeMem(Buf,BufSize);
     Close(F);
     end;
   MD5Final(Context, Result);