mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-07 04:07:17 +00:00
test_driver: replace VIR_FREE with g_free in all vir*Free() functions
Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
674719afe6
commit
5b31dec63d
@ -198,8 +198,8 @@ testDomainDefNamespaceFree(void *data)
|
||||
for (i = 0; i < nsdata->num_snap_nodes; i++)
|
||||
xmlFreeNode(nsdata->snap_nodes[i]);
|
||||
|
||||
VIR_FREE(nsdata->snap_nodes);
|
||||
VIR_FREE(nsdata);
|
||||
g_free(nsdata->snap_nodes);
|
||||
g_free(nsdata);
|
||||
}
|
||||
|
||||
static int
|
||||
@ -428,7 +428,7 @@ static void
|
||||
testDomainObjPrivateFree(void *data)
|
||||
{
|
||||
testDomainObjPrivatePtr priv = data;
|
||||
VIR_FREE(priv);
|
||||
g_free(priv);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user