[PATCH 2/2] use g_autoptr for (almost) all virConnectPtrs used with virGetConnectNetwork()

Ján Tomko jtomko at redhat.com
Fri Jan 8 13:05:51 UTC 2021


On a Friday in 2021, Laine Stump wrote:
>two occurences (in libxl_domain.c) couldn't be changed due to a

*occurrences

>compile error. I'll send those in a separate mail looking for an
>explanation...
>

or just #include "datatypes.h" and make the changes in the same patch.

>Signed-off-by: Laine Stump <laine at redhat.com>
>---
> src/conf/domain_conf.c   |  3 +--
> src/libxl/libxl_driver.c | 15 +++++----------
> src/lxc/lxc_driver.c     | 17 +++++------------
> src/lxc/lxc_process.c    | 10 +++-------
> 4 files changed, 14 insertions(+), 31 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210108/ce459116/attachment-0001.sig>


More information about the libvir-list mailing list