mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Don't realloc the string pointer table.
This causes a bit of memory waste, but avoids breaking the pointers in the string hash table.
This commit is contained in:
parent
e6b783a616
commit
f63e505c92
1 changed files with 0 additions and 2 deletions
|
@ -231,8 +231,6 @@ PR_LoadStrings (progs_t *pr)
|
|||
}
|
||||
str += strlen (str) + 1;
|
||||
}
|
||||
pr->static_strings = realloc (pr->static_strings,
|
||||
count * sizeof (strref_t));
|
||||
pr->num_strings = count;
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue