Skip to content

Commit

Permalink
Unlink unused parsed edicts (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-drexler committed Nov 18, 2023
1 parent 67e230e commit 3ffb5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quake/pr_edict.c
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ const char *ED_ParseEdict (const char *data, edict_t *ent)
}

if (!init)
ED_AddToFreeList (ent);
ED_Free (ent);

return data;
}
Expand Down

0 comments on commit 3ffb5a2

Please sign in to comment.