Expand the destroyByteBuffer() call to take any Buffer and do a safety check for isDirect(). This should let it free FloatBuffers, etc.
Expand the destroyByteBuffer() call to take any
Buffer and do a safety check for isDirect().
This should let it free FloatBuffers, etc.


git-svn-id: f9411aee4f13664f2fc428a5b3e824fe43a079a3@9120 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

davidB/jmonkeyengine,yetanotherindie/jMonkey-Engine,zzuegg/jmonkeyengine,nickschot/jmonkeyengine,olafmaas/jmonkeyengine,wrvangeest/jmonkeyengine,delftsre/jmonkeyengine,danteinforno/jmonkeyengine,phr00t/jmonkeyengine,d235j/jmonkeyengine,atomixnmc/jmonkeyengine,GreenCubes/jmonkeyengine,bsmr-java/jmonkeyengine,shurun19851206/jMonkeyEngine,zzuegg/jmonkeyengine,skapi1992/jmonkeyengine,rbottema/jmonkeyengine,InShadow/jmonkeyengine,Georgeto/jmonkeyengine,rbottema/jmonkeyengine,davidB/jmonkeyengine,d235j/jmonkeyengine,bertleft/jmonkeyengine,yetanotherindie/jMonkey-Engine,weilichuang/jmonkeyengine,weilichuang/jmonkeyengine,Georgeto/jmonkeyengine,g-rocket/jmonkeyengine,danteinforno/jmonkeyengine,davidB/jmonkeyengine,davidB/jmonkeyengine,GreenCubes/jmonkeyengine,yetanotherindie/jMonkey-Engine,jMonkeyEngine/jmonkeyengine,mbenson/jmonkeyengine,mbenson/jmonkeyengine,bertleft/jmonkeyengine,amit2103/jmonkeyengine,InShadow/jmonkeyengine,danteinforno/jmonkeyengine,InShadow/jmonkeyengine,tr0k/jmonkeyengine,tr0k/jmonkeyengine,aaronang/jmonkeyengine,phr00t/jmonkeyengine,sandervdo/jmonkeyengine,nickschot/jmonkeyengine,tr0k/jmonkeyengine,Georgeto/jmonkeyengine,atomixnmc/jmonkeyengine,OpenGrabeso/jmonkeyengine,weilichuang/jmonkeyengine,OpenGrabeso/jmonkeyengine,shurun19851206/jMonkeyEngine,danteinforno/jmonkeyengine,shurun19851206/jMonkeyEngine,shurun19851206/jMonkeyEngine,Georgeto/jmonkeyengine,rbottema/jmonkeyengine,yetanotherindie/jMonkey-Engine,delftsre/jmonkeyengine,weilichuang/jmonkeyengine,OpenGrabeso/jmonkeyengine,d235j/jmonkeyengine,bertleft/jmonkeyengine,sandervdo/jmonkeyengine,mbenson/jmonkeyengine,amit2103/jmonkeyengine,bsmr-java/jmonkeyengine,jMonkeyEngine/jmonkeyengine,jMonkeyEngine/jmonkeyengine,nickschot/jmonkeyengine,phr00t/jmonkeyengine,atomixnmc/jmonkeyengine,GreenCubes/jmonkeyengine,yetanotherindie/jMonkey-Engine,atomixnmc/jmonkeyengine,g-rocket/jmonkeyengine,InShadow/jmonkeyengine,nickschot/jmonkeyengine,Georgeto/jmonkeyengine,d235j/jmonkeyengine,sandervdo/jmonkeyengine,wrvangeest/jmonkeyengine,aaronang/jmonkeyengine,atomixnmc/jmonkeyengine,davidB/jmonkeyengine,bertleft/jmonkeyengine,bsmr-java/jmonkeyengine,amit2103/jmonkeyengine,jMonkeyEngine/jmonkeyengine,olafmaas/jmonkeyengine,sandervdo/jmonkeyengine,mbenson/jmonkeyengine,aaronang/jmonkeyengine,OpenGrabeso/jmonkeyengine,mbenson/jmonkeyengine,skapi1992/jmonkeyengine,amit2103/jmonkeyengine,aaronang/jmonkeyengine,OpenGrabeso/jmonkeyengine,olafmaas/jmonkeyengine,g-rocket/jmonkeyengine,rbottema/jmonkeyengine,bsmr-java/jmonkeyengine,d235j/jmonkeyengine,atomixnmc/jmonkeyengine,wrvangeest/jmonkeyengine,shurun19851206/jMonkeyEngine,weilichuang/jmonkeyengine,danteinforno/jmonkeyengine,weilichuang/jmonkeyengine,Georgeto/jmonkeyengine,olafmaas/jmonkeyengine,danteinforno/jmonkeyengine,OpenGrabeso/jmonkeyengine,davidB/jmonkeyengine,g-rocket/jmonkeyengine,skapi1992/jmonkeyengine,zzuegg/jmonkeyengine,shurun19851206/jMonkeyEngine,mbenson/jmonkeyengine,GreenCubes/jmonkeyengine,amit2103/jmonkeyengine,tr0k/jmonkeyengine,delftsre/jmonkeyengine,g-rocket/jmonkeyengine,phr00t/jmonkeyengine,g-rocket/jmonkeyengine,wrvangeest/jmonkeyengine,skapi1992/jmonkeyengine,yetanotherindie/jMonkey-Engine,d235j/jmonkeyengine,zzuegg/jmonkeyengine,amit2103/jmonkeyengine,delftsre/jmonkeyengine