5 ms·Dereferencing a null pointer is undefined behavior. free() on NULL is defined to be a no-op.by PeCaN 11y agoDereferencing a null pointer is undefined behavior. free() on NULL is defined to be a no-op.