mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-22 03:41:19 +00:00
bus error fix when quitting. spotted on openbsd while
working ok on Linux and others.
This commit is contained in:
parent
4d1b4fa88c
commit
da5d36a7fd
1 changed files with 2 additions and 2 deletions
|
@ -619,11 +619,11 @@ Cvar_Fini(void)
|
|||
|
||||
for (var = cvar_vars; var;)
|
||||
{
|
||||
cvar_t *c = var;
|
||||
cvar_t *c = var->next;
|
||||
Z_Free(var->string);
|
||||
Z_Free(var->name);
|
||||
Z_Free(var);
|
||||
var = c->next;
|
||||
var = c;
|
||||
}
|
||||
|
||||
Cmd_RemoveCommand("cvarlist");
|
||||
|
|
Loading…
Reference in a new issue