added leak checking for resource_mgr.purge()
added leak checking for resource_mgr.purge()

cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala