Changes in / [3901457:1d60da8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/heap.cfa
r3901457 r1d60da8 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.