Re: [PATCH 4/9] conf: Use automatic pointers for xmlXPathContext

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

 



On Mon, Sep 16, 2019 at 14:17:07 +0200, Peter Krempa wrote:
> Clean up functions which grab and free the context to use VIR_AUTOPTR.
> 
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> ---
>  src/conf/checkpoint_conf.c  | 12 ++++--------
>  src/conf/domain_conf.c      | 13 ++++---------
>  src/conf/interface_conf.c   | 11 +++--------
>  src/conf/network_conf.c     | 11 +++--------
>  src/conf/node_device_conf.c | 11 +++--------
>  src/conf/nwfilter_conf.c    | 13 ++++---------
>  src/conf/snapshot_conf.c    | 16 ++++++----------
>  src/conf/storage_conf.c     | 24 ++++++++----------------
>  8 files changed, 35 insertions(+), 76 deletions(-)

Reviewed-by: Jiri Denemark <jdenemar@xxxxxxxxxx>

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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