From c6aafbd0ef3f07b97cf2281e3146d76b1de60806 Mon Sep 17 00:00:00 2001 From: "Kae..pl" Date: Thu, 28 Jul 2011 19:21:03 +0000 Subject: [PATCH] Bugfix: temp var was not released. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7940 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/bounding/BoundingSphere.java | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/core/com/jme3/bounding/BoundingSphere.java b/engine/src/core/com/jme3/bounding/BoundingSphere.java index c8ef3e38e..2fcfff5e2 100644 --- a/engine/src/core/com/jme3/bounding/BoundingSphere.java +++ b/engine/src/core/com/jme3/bounding/BoundingSphere.java @@ -768,6 +768,7 @@ public class BoundingSphere extends BoundingVolume { CollisionResult result = new CollisionResult(point, distance); results.addCollision(result); + vars.release(); return 1; }