begin_x[1] is not the second component of the element, but the element after the one pointed to begin_x. When begin_x points to the last element, that line overwrites data past the end of the allocation, which, during my tests, happened to contain the reference count for the matrix. Hilarity ensues.pull/1409/head
parent
2de8487e58
commit
4f109d1292
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue