>>3983915previously the problem with code was that realloc would implicitly free the memory and allocate my data somewhere else, rendering my array of void pointers wrapped in structs useless and segfault prone. But i fixed it by just substracting the previous address if that happens and adding the new one. I love treating pointers like integers.