mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
Merge pull request #15159 from LiumxNL/fix-ping-monitor
pybind/rados: avoid call free() on invalid pointer Reviewed-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
commit
5c203e86db
@ -815,7 +815,7 @@ Rados object in state %s." % self.state)
|
||||
mon_id = cstr(mon_id, 'mon_id')
|
||||
cdef:
|
||||
char *_mon_id = mon_id
|
||||
size_t outstrlen
|
||||
size_t outstrlen = 0
|
||||
char *outstr
|
||||
|
||||
with nogil:
|
||||
|
Loading…
Reference in New Issue
Block a user