memory allocation issues
-
In my program, I allocated a 2D array and it works, the first time the function runs. The debugger seems to blame free() for some reason. The program freezes completely and seems to go into some sort of infinite loop, which is strange because the code is nowhere near an infinite loop. What could possibly be causing this? -- Steve
-
In my program, I allocated a 2D array and it works, the first time the function runs. The debugger seems to blame free() for some reason. The program freezes completely and seems to go into some sort of infinite loop, which is strange because the code is nowhere near an infinite loop. What could possibly be causing this? -- Steve
perhaps posting your code would be a start. Why do you think it's in an infinite loop ? How do you deallocate the array ? When do you ? See how much easier this will be when you post the code ?:doh: Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder