linenoise
linenoise copied to clipboard
Don’t check for NULL before calling free()
As per man 3 free:
The free() function deallocates the memory allocation pointed to by ptr. If ptr is a NULL pointer, no operation is performed.