mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
d'oh, forgot to mark the string ref as freed
This commit is contained in:
parent
aa1e9a3de6
commit
a0612e27b9
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ new_string_ref (progs_t *pr)
|
|||
static void
|
||||
free_string_ref (progs_t *pr, strref_t *sr)
|
||||
{
|
||||
sr->type = str_free;
|
||||
if (sr->prev)
|
||||
*sr->prev = sr->next;
|
||||
sr->next = pr->free_string_refs;
|
||||
|
|
Loading…
Reference in a new issue