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

Change-Id: I9823f61daf12de6122dfb312890f42c6a2e2a8bb