Commit e6794882 authored by Lars Knoll's avatar Lars Knoll Committed by Simon Hausmann
Browse files

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: default avatarSimon Hausmann <simon.hausmann@digia.com>
parent 87755d04
Showing with 2 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment