Free classes after objects for memory tool
am: 164f133d98

Change-Id: I289609adc7038562204f8ed2cd35904a1c878cf7