[PATCH 0/4] virIdentity: Don't leak params in virGetConnectGeneric and refactor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix a memleak and make the code a bit neater.

Peter Krempa (4):
  util: typedparam: Introduce virTypedParamListFromParams
  virGetConnectGeneric: Fix memleak of 'identparams' when connecting
    between split daemons
  virIdentityGetParameters: Return 'virTypedParamList'
  doRemoteOpen: Refactor control flow

 src/driver.c                        |  8 +++----
 src/libvirt_private.syms            |  1 +
 src/remote/remote_daemon_dispatch.c | 36 ++++++++++++-----------------
 src/util/viridentity.c              | 15 ++++--------
 src/util/viridentity.h              |  5 ++--
 src/util/virtypedparam.c            | 13 +++++++++++
 src/util/virtypedparam.h            |  4 ++++
 7 files changed, 44 insertions(+), 38 deletions(-)

-- 
2.35.3




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux