pybind/cephfs: s/ceph_buffer_free/free/

free() assumes how libcephfs manages the memory. let's use
ceph_buffer_free() for better encapsulation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2020-01-14 14:44:48 +08:00
parent 67fe2b36f1
commit 7faa75c6fc

View File

@ -526,7 +526,7 @@ cdef class LibCephFS(object):
return decode_cstr(addrs)
finally:
free(addrs)
ceph_buffer_free(addrs)
def conf_read_file(self, conffile=None):