fixes #39
fixes #39

set_buffer was still freeing buffers that were not allocated by Buffer instances.