0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-04-22 17:45:37 +00:00

[ruamoko] Free buffer used for loading plists

That's definitely a leak.
This commit is contained in:
Bill Currie 2022-05-12 22:47:55 +09:00
parent aabf3e14f8
commit 50226a64c3

View file

@ -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);
}