Changeset 75baaa3 for tests


Ignore:
Timestamp:
Nov 9, 2020, 12:12:37 PM (3 years ago)
Author:
m3zulfiq <m3zulfiq@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
18f0b70, 685810e
Parents:
139775e
Message:

temporarily fixed sanity check on free by type-casting. changed free(0p) to free((void*)0p)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/malloc.cfa

    r139775e r75baaa3  
    319319        free(ip);
    320320
    321         free( 0p ); // sanity check
     321        free( (void*) 0p ); // sanity check
    322322        free( NULL ); // sanity check
    323323
Note: See TracChangeset for help on using the changeset viewer.