Bug 000279

When Created: 04/03/1999 11:00:19
Against DJGPP version: 2.01
By whom:
Abstract: new allocates same memory twice
My application (c++) uses both new and malloc() for dynamic memory allocation. In some cases, however, it seems that new allocates the same memory twice. The two pointers, which should point to different memory areas and which both are allocated using new, do not depend on each other in any way, but their numerical value after the allocation simply is the same. The problem has not occurred in small programs, but I have encountered it twice when making medium-size programs. Due to the size of the program, I can't include an example.

Solution added: 04/06/1999 09:00:12
By whom:
I'm sorry - the bug wasn't in DJGPP but in my own code...

Fixed in version on 04/09/1999 11:00:17
By whom:

  webmaster     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010