diff options
author | Simon Hausmann <[email protected]> | 2014-03-28 14:12:41 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2014-03-28 15:07:03 +0100 |
commit | 6bbd173a9cb36021ed284522ac628400469eab2f (patch) | |
tree | 969dfdd384ab63d2c48eea7a609d71c1dda9f424 /src/qml/jsruntime/qv4objectproto.cpp | |
parent | 910542eb9e3876df33d8a613333dfbccb898a11d (diff) |
Fix crash in sparse array handling
When re-allocating the sparse array data, make sure to initialize the free list
correctly. Previously this was only done for the first allocation.
Test cases uses an object literal, as that's a reliable way to ensure
a sparse array is created.
Task-number: QTBUG-37892
Change-Id: Ib38cfce50104904af0c980f022c9dbb7461ae5f8
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto.cpp')
0 files changed, 0 insertions, 0 deletions