well, shit.
This commit is contained in:
1 parent
92495a70bc
commit
d1c0401c73
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user