Fixed memory leak in ObjectTest.
Fixed memory leak in ObjectTest.

ashimidashajia/magnum,MiUishadow/magnum,DerThorsten/magnum,DerThorsten/magnum,MiUishadow/magnum,ashimidashajia/magnum,MiUishadow/magnum,MiUishadow/magnum,MiUishadow/magnum,DerThorsten/magnum,DerThorsten/magnum,DerThorsten/magnum,ashimidashajia/magnum,ashimidashajia/magnum,ashimidashajia/magnum,MiUishadow/magnum