I think we should tell that free() will also free the buffer but may also do other free up tasks.