This series fixes a memory leak in a dangling conn object reference
caused by
assigning NULL to conn->closeCallback object by the RPC catch-disconnect routine
followed by a comparison of equality of conn->closeCallback->callback and the
client-registered callback reference.
Before fixing the issue itself, there are some new helpers introduced following
the same idea as the helpers introduced by series
https://www.redhat.com/archives/libvir-list/2016-February/msg00849.html
Erik Skultety (4):
vsh: Drop conditional error reporting in vshErrorHandler
admin: Remove unnecessary @conn object locking
datatypes: Introduce some admin-related close callback handling
helpers
admin: Use the newly introduced close callback handling helpers
po/POTFILES.in | 1 +
src/admin/admin_remote.c | 6 +---
src/datatypes.c | 67 +++++++++++++++++++++++++++++++++++++++---
src/datatypes.h | 8 +++++
src/libvirt-admin.c | 24 +--------------
src/libvirt_admin_private.syms | 3 ++
tools/vsh.c | 2 --
7 files changed, 77 insertions(+), 34 deletions(-)