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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to