Changes in libcfa/src/heap.cfa [1f6de372:4ea1c6d]
- File:
-
- 1 edited
-
libcfa/src/heap.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/heap.cfa
r1f6de372 r4ea1c6d 10 10 // Created On : Tue Dec 19 21:58:35 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Dec 3 13:58:44201913 // Update Count : 64 212 // Last Modified On : Fri Nov 29 17:33:58 2019 13 // Update Count : 641 14 14 // 15 15 … … 855 855 #endif // __STATISTICS__ 856 856 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 857 if ( unlikely( size == 0 ) ) { free( oaddr ); return 0p; } // special cases 859 858 if ( unlikely( oaddr == 0p ) ) return mallocNoStats( size ); 860 859 … … 1083 1082 #endif // __STATISTICS__ 1084 1083 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 1084 if ( unlikely( size == 0 ) ) { free( oaddr ); return 0p; } // special cases 1087 1085 if ( unlikely( oaddr == 0p ) ) return mallocNoStats( size ); 1088 1086
Note:
See TracChangeset
for help on using the changeset viewer.