Search:

Type: Posts; User: whiteflags

Search: Search took 0.06 seconds.

  1. Replies
    34
    Views
    29,639

    The new pointers point to the same place as the...

    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...
  2. Replies
    34
    Views
    29,639

    You can realloc the first dimension, because you...

    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...
Results 1 to 2 of 2