Fix silly freeing of buffer.data instead of buffer

Also remove an unnecessary log message.
1 file changed