Index: libcfa/src/heap.cfa
===================================================================
--- libcfa/src/heap.cfa	(revision 1805b1be1a8d5fb7b4f0e507f7f0641d178c7f53)
+++ libcfa/src/heap.cfa	(revision 1f6de37216006d1bd5247d77c0f936e9be029a78)
@@ -10,6 +10,6 @@
 // Created On       : Tue Dec 19 21:58:35 2017
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Fri Nov 29 17:33:58 2019
-// Update Count     : 641
+// Last Modified On : Tue Dec  3 13:58:44 2019
+// Update Count     : 642
 //
 
@@ -855,5 +855,6 @@
 		#endif // __STATISTICS__
 
-	  if ( unlikely( size == 0 ) ) { free( oaddr ); return 0p; } // special cases
+		// If size is equal to 0, either NULL or a pointer suitable to be passed to free() is returned.
+	  if ( unlikely( size == 0 ) ) { free( oaddr ); return mallocNoStats( size ); } // special cases
 	  if ( unlikely( oaddr == 0p ) ) return mallocNoStats( size );
 
@@ -1082,5 +1083,6 @@
 	#endif // __STATISTICS__
 
-  if ( unlikely( size == 0 ) ) { free( oaddr ); return 0p; } // special cases
+	// If size is equal to 0, either NULL or a pointer suitable to be passed to free() is returned.
+  if ( unlikely( size == 0 ) ) { free( oaddr ); return mallocNoStats( size ); } // special cases
   if ( unlikely( oaddr == 0p ) ) return mallocNoStats( size );
 
