[ioquake3] 23/33: Fix memory leak in (unused) AAS_FloodAreas()
Simon McVittie
smcv at debian.org
Mon Oct 30 14:00:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository ioquake3.
commit e46e9846fced5025bfa446500be84f537f962072
Author: Zack Middleton <zack at cloemail.com>
Date: Sat Oct 7 00:51:19 2017 -0500
Fix memory leak in (unused) AAS_FloodAreas()
---
code/botlib/be_aas_debug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/code/botlib/be_aas_debug.c b/code/botlib/be_aas_debug.c
index ab44bc0..b9a1465 100644
--- a/code/botlib/be_aas_debug.c
+++ b/code/botlib/be_aas_debug.c
@@ -774,4 +774,5 @@ void AAS_FloodAreas(vec3_t origin)
areanum = AAS_PointAreaNum(origin);
cluster = AAS_AreaCluster(areanum);
AAS_FloodAreas_r(areanum, cluster, done);
+ FreeMemory(done);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git
More information about the Pkg-games-commits
mailing list