I discovered why a program of mine has been crashing
At first I thought size was overflowing the memory, but my showHex func reveals that it's only 14. A memory leak I was thinking, but the lineCode:Char* ret = new Char[size];
works just fine in it's place, and it's allocating 10 times the space.Code:Char ret;
So time to use the debugger I thought, but when I run it through the debugger, NOTHING happens, go back to normal build, it crashes again. Somehow the debugger is fixing this problem, but it doesn't report any error or warning of any kind.
What going on?