Fixed memory leak
Fixed memory leak

robojukie/simbody,simbody/simbody,scamille/simbody,Gjacquenot/simbody,scamille/simbody,robojukie/simbody,chrisdembia/simbody,Gjacquenot/simbody,elkingtonmcb/simbody,elkingtonmcb/simbody,elkingtonmcb/simbody,chrisdembia/simbody,robojukie/simbody,simbody/simbody,scamille/simbody,Gjacquenot/simbody,chrisdembia/simbody,elen4/simbody,elen4/simbody