The new pointers point to the same place as the old ones. I'm not sure I see the problem.
You can't diagnose a memory leak based on what seems to work. If I were you, I would watch all the...
Type: Posts; User: whiteflags
The new pointers point to the same place as the old ones. I'm not sure I see the problem.
You can't diagnose a memory leak based on what seems to work. If I were you, I would watch all the...
You can realloc the first dimension, because you only made one malloc call for the entire first dimension. The second dimension can't be done with one realloc call, you would have to use realloc for...