mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
well, shit.
This commit is contained in:
parent
92495a70bc
commit
d1c0401c73
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ static void hash_add_label(const char* label, unsigned address)
|
|||
i %= sizeof(labelhash)/sizeof(labelhash[0]);
|
||||
h = malloc(sizeof(struct hashentry));
|
||||
|
||||
labellen = strlen(label);
|
||||
labellen = strlen(label) + 1;
|
||||
h->label = malloc(labellen);
|
||||
Com_sprintf(h->label, labellen, "%s", label);
|
||||
|
||||
|
|
Loading…
Reference in a new issue