mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +00:00
[ruamoko] Free buffer used for loading plists
That's definitely a leak.
This commit is contained in:
parent
aabf3e14f8
commit
50226a64c3
1 changed files with 1 additions and 0 deletions
|
@ -202,6 +202,7 @@ bi_PL_GetFromFile (progs_t *pr, void *_res)
|
|||
buf[len] = 0;
|
||||
|
||||
plitem = PL_GetPropertyList (buf, pr->hashctx);
|
||||
free (buf);
|
||||
|
||||
R_INT (pr) = plist_retain (res, plitem);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue