Fix memory leak in getInstrumentationResult am: c8f00b5c96 am: 81e795ebb3
am: 24b8bc606a

Change-Id: I136c639fd3b81dd4710d7e55c2f5cfa2e442b2b1