Changeset 75baaa3 for tests/malloc.cfa


Ignore:
Timestamp:
Nov 9, 2020, 12:12:37 PM (13 months ago)
Author:
m3zulfiq <m3zulfiq@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
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.