From 59990ed981bca69ce7817741f99a1c0f4ec02743 Mon Sep 17 00:00:00 2001 From: Irlan <-> Date: Fri, 11 May 2018 03:41:17 -0300 Subject: [PATCH] memleak --- src/bounce/collision/shapes/qhull.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bounce/collision/shapes/qhull.cpp b/src/bounce/collision/shapes/qhull.cpp index 6a80b40..6f9abda 100644 --- a/src/bounce/collision/shapes/qhull.cpp +++ b/src/bounce/collision/shapes/qhull.cpp @@ -173,6 +173,7 @@ void b3QHull::Set(const b3Vec3* points, u32 count) if (psCount < 4) { // Polyhedron is degenerate. + b3Free(ps); return; }