mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-06 03:09:39 +01:00
* applied a memory leak fix by Charlie Ikeson
git-svn-id: trunk@87 -
This commit is contained in:
parent
28cb39dab7
commit
d4883186ed
@ -351,6 +351,7 @@ begin
|
|||||||
If (Count>0) then
|
If (Count>0) then
|
||||||
MD5Update(Context, Buf^, Count);
|
MD5Update(Context, Buf^, Count);
|
||||||
Until (Count<BufSize);
|
Until (Count<BufSize);
|
||||||
|
FreeMem(Buf,BufSize);
|
||||||
Close(F);
|
Close(F);
|
||||||
end;
|
end;
|
||||||
MD5Final(Context, Result);
|
MD5Final(Context, Result);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user