GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c7e5c
)
fixed small bug in hashtable
author
Ketmar Dark <ketmar@ketmar.no-ip.org>
Fri, 1 Jun 2018 18:16:22 +0000
(21:16 +0300)
committer
Ketmar Dark <ketmar@ketmar.no-ip.org>
Fri, 1 Jun 2018 18:17:42 +0000
(21:17 +0300)
src/shared/hashtable.pas
patch
|
blob
|
history
diff --git
a/src/shared/hashtable.pas
b/src/shared/hashtable.pas
index 98c924d20bddb1176a3246f10aec6f10ea57cfda..86fd547c4a532d8e4f95fc382b04129e86b40800 100644
(file)
--- a/
src/shared/hashtable.pas
+++ b/
src/shared/hashtable.pas
@@
-949,7
+949,7
@@
begin
lastfree := e;
end;
end;
- if (lastfree <> nil) then e.nextFree := nil;
+ if (lastfree <> nil) then
lastfre
e.nextFree := nil;
{$IFDEF RBHASH_SANITY_CHECKS}
if (cnt <> mBucketsUsed) then raise Exception.Create('internal error in hash table resize (invalid first/last range; 0)');
if (cnt <> mEntriesUsed) then raise Exception.Create('internal error in hash table resize (invalid first/last range; 1)');
DEADSOFTWARE 2012-2025