Changeset 1f6de372 for libcfa/src
- Timestamp:
- Dec 3, 2019, 5:39:07 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1d60da8
- Parents:
- 1805b1b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/heap.cfa
r1805b1b r1f6de372 10 10 // Created On : Tue Dec 19 21:58:35 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Nov 29 17:33:58201913 // Update Count : 64 112 // Last Modified On : Tue Dec 3 13:58:44 2019 13 // Update Count : 642 14 14 // 15 15 … … 855 855 #endif // __STATISTICS__ 856 856 857 if ( unlikely( size == 0 ) ) { free( oaddr ); return 0p; } // special cases 857 // If size is equal to 0, either NULL or a pointer suitable to be passed to free() is returned. 858 if ( unlikely( size == 0 ) ) { free( oaddr ); return mallocNoStats( size ); } // special cases 858 859 if ( unlikely( oaddr == 0p ) ) return mallocNoStats( size ); 859 860 … … 1082 1083 #endif // __STATISTICS__ 1083 1084 1084 if ( unlikely( size == 0 ) ) { free( oaddr ); return 0p; } // special cases 1085 // If size is equal to 0, either NULL or a pointer suitable to be passed to free() is returned. 1086 if ( unlikely( size == 0 ) ) { free( oaddr ); return mallocNoStats( size ); } // special cases 1085 1087 if ( unlikely( oaddr == 0p ) ) return mallocNoStats( size ); 1086 1088
Note: See TracChangeset
for help on using the changeset viewer.