What steps will reproduce the problem?
1. a = iVector.Create(sizeof(int),10);
2. iVector.Add(a,&i);
3. iVector.Add(a,&i);
4. iVector.Erase(a,1)
5. iVector.Finalize(a) will report error when Mem Debug enabled
Please change line 652 in vector.c to
memmove(p,p+AL->ElementSize,(AL->count-idx-1)*AL->ElementSize);
Original issue reported on code.google.com by
zha...@gmail.comon 24 Apr 2013 at 7:46