[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: More than 2, but less than 3 GiB per process memory?



Hello,

You wrote:
> On Friday September 23 2005 15:09, Malte Cornils wrote:
> > [...]
> >                         test_p = new test[i];
> > [...]
> >                 free(test_p);
> 
> Never, ever free() memory allocated with new! Use delete[].

Oops. Well spotted, this came from first writing the test case in C and then 
converting to C++. Thank you!

-Malte



Reply to: