Add LOG_API to log all chewing APIs
Do not check NULL for free()