Reallocation is completley broken when you have multiple references
Frityet opened this issue · 1 comments
Frityet commented
When trying to reallocate a managed pointer which has references elsewhere, the existing references are broken, as realloc
frees the existing allocation. This is a BIG issue, that makes it impoossible to realloc safely!
Frityet commented
The only real fix to this is by having a pointer to a reference, and changing the pointer. The problem is that it will result in having to dereference when you want to access the reference, which is not streamlined or fun to do