mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +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
|
static void
|
||||||
free_string_ref (progs_t *pr, strref_t *sr)
|
free_string_ref (progs_t *pr, strref_t *sr)
|
||||||
{
|
{
|
||||||
|
sr->type = str_free;
|
||||||
if (sr->prev)
|
if (sr->prev)
|
||||||
*sr->prev = sr->next;
|
*sr->prev = sr->next;
|
||||||
sr->next = pr->free_string_refs;
|
sr->next = pr->free_string_refs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue