Merge "Free mObjects if no objects left to realloc on resize" into qt-dev
am: 4f65d3377b

Change-Id: I3157b38d1b2714822b7b3f37edb271628583397f