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:
Bill Currie 2010-11-14 19:21:16 +09:00
parent e6b783a616
commit f63e505c92

View file

@ -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;
}