Files
wren/test/list
Bob Nystrom 6947143007 fix: assign reallocation result to list->elements in shrink path
When shrinking a list's capacity, wrenReallocate may return a different
memory address. The previous code ignored the return value, leaving
list->elements pointing to freed memory. This fix assigns the result
back to list->elements and adds a regression test for grow/shrink
behavior.
2014-02-10 15:55:14 +00:00
..