mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:09:23 +02:00
* fix for #34185, pallette not nilled, causes problems when reader is recycled.
git-svn-id: trunk@39676 -
This commit is contained in:
parent
0b9ee238b5
commit
b929b8b8eb
@ -833,7 +833,7 @@ begin
|
||||
ZData.Free;
|
||||
if not img.UsePalette and assigned(FPalette) then
|
||||
begin
|
||||
FPalette.Free;
|
||||
FreeAndNil(FPalette);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user