GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b4e26
)
map: fix free random memory address
author
DeaDDooMER <deaddoomer@deadsoftware.ru>
Mon, 20 Jun 2022 20:02:14 +0000
(23:02 +0300)
committer
DeaDDooMER <deaddoomer@deadsoftware.ru>
Fri, 9 Jun 2023 08:53:27 +0000
(11:53 +0300)
src/game/g_map.pas
patch
|
blob
|
history
diff --git
a/src/game/g_map.pas
b/src/game/g_map.pas
index 54d22a183ba4a224133de8c67d6dbf2b8120bdca..85bffa627423e79bb74a14354eb8464edd4ac714 100644
(file)
--- a/
src/game/g_map.pas
+++ b/
src/game/g_map.pas
@@
-1004,8
+1004,8
@@
end;
Textures[High(Textures)].TextureName := RecName;
Result := High(Textures);
TextNameHash.put(HName, result);
+ FreeMem(ResData);
end;
- FreeMem(ResData);
end;
WAD.Free;
end
DEADSOFTWARE 2012-2025