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:
Yuri Weinstein 2017-05-19 09:32:19 -07:00 committed by GitHub
commit 5c203e86db

View File

@ -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: