Ignore:
Timestamp:
Sep 7, 2020, 7:52:02 PM (2 years ago)
Author:
m3zulfiq <m3zulfiq@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
113d785
Parents:
943a079
Message:

heap.cfa: removed bug in resize with alignment by adding return before call to resize. alloc2.cfa: added debug prints.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/heap.cfa

    r943a079 r1b55756  
    12571257        } else if ( ! isFakeHeader                                                      // old real header (aligned on libAlign) ?
    12581258                                && nalign == libAlign() ) {                             // new alignment also on libAlign => no fake header needed
    1259                 resize( oaddr, size );                                                  // duplicate special case checks
     1259                return resize( oaddr, size );                                                   // duplicate special case checks
    12601260        } // if
    12611261
Note: See TracChangeset for help on using the changeset viewer.