Gabriel, thank you for stating more clearly wht I had burried in my earlier post...

As far as mixing new/delete and alloc/free, there is no guarantee that the two methods will use the same memory area, this can result in the same problem as above