Don't allocate less memory than required
When switching from a simple to a sparse array,
keep the previously allocated size, to not corrupt
memory.
Change-Id: I33f0fb049a2ad6f24ee3703f2c333855830fe9d2
Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
Showing
Please register or sign in to comment