[PATCH v2] capabilities: use g_autofree in capabilities.c

Michal Prívozník mprivozn at redhat.com
Mon Oct 17 08:57:20 UTC 2022


On 10/15/22 11:18, Jiang Jiacheng wrote:
> Use g_autofree in capabilities.c for some pointers still using manual cleanup,
> and remove unnecessary cleanup.
> 
> Signed-off-by: Jiang Jiacheng <jiangjiacheng at huawei.com>
> ---
>  src/conf/capabilities.c | 38 ++++++++++++--------------------------
>  1 file changed, 12 insertions(+), 26 deletions(-)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

and pushed.

Michal



More information about the libvir-list mailing list