Fix memory leak in (unused) AAS_FloodAreas()

This commit is contained in:
Zack Middleton 2017-10-07 00:51:19 -05:00
parent 815c898bf5
commit e46e9846fc

View file

@ -774,4 +774,5 @@ void AAS_FloodAreas(vec3_t origin)
areanum = AAS_PointAreaNum(origin); areanum = AAS_PointAreaNum(origin);
cluster = AAS_AreaCluster(areanum); cluster = AAS_AreaCluster(areanum);
AAS_FloodAreas_r(areanum, cluster, done); AAS_FloodAreas_r(areanum, cluster, done);
FreeMemory(done);
} }