mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
oops, forgot to copy the string again when I went from strdup to save_string
This commit is contained in:
parent
73b68e788e
commit
9332ea30bc
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ new_def (type_t *type, const char *name, scope_t *scope)
|
|||
|
||||
def->return_addr = __builtin_return_address (0);
|
||||
|
||||
def->name = name;
|
||||
def->name = name ? save_string (name) : 0;
|
||||
def->type = type;
|
||||
|
||||
def->scope = scope;
|
||||
|
|
Loading…
Reference in a new issue