mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
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:
parent
67fe2b36f1
commit
7faa75c6fc
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user