Changeset 10d609a


Ignore:
Timestamp:
Nov 12, 2020, 11:04:13 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
9139540
Parents:
f2ccbfd
Message:

allow free( 0p )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/malloc.cfa

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