Fixed memory leak in destroy_buffer()