mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
[sys] Ensure dstrings don't get double-freed
Never nice.
This commit is contained in:
parent
ea375a4e2f
commit
4eaaf28030
1 changed files with 2 additions and 0 deletions
|
@ -1254,8 +1254,10 @@ Sys_Shutdown (void)
|
|||
}
|
||||
if (sys_print_msg) {
|
||||
dstring_delete (sys_print_msg);
|
||||
sys_print_msg = 0;
|
||||
}
|
||||
if (sys_debuglog_data) {
|
||||
dstring_delete (sys_debuglog_data);
|
||||
sys_debuglog_data = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue