mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 11:10:36 +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;
|
ZData.Free;
|
||||||
if not img.UsePalette and assigned(FPalette) then
|
if not img.UsePalette and assigned(FPalette) then
|
||||||
begin
|
begin
|
||||||
FPalette.Free;
|
FreeAndNil(FPalette);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user