mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Use g_steal_pointer instead of VIR_STEAL_PTR everywhere
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -1073,7 +1073,7 @@ testQemuInfoSetArgs(struct testQemuInfo *info,
|
||||
fprintf(stderr, "No qemuCaps generated\n");
|
||||
goto cleanup;
|
||||
}
|
||||
VIR_STEAL_PTR(info->qemuCaps, qemuCaps);
|
||||
info->qemuCaps = g_steal_pointer(&qemuCaps);
|
||||
|
||||
if (gic != GIC_NONE && testQemuCapsSetGIC(info->qemuCaps, gic) < 0)
|
||||
goto cleanup;
|
||||
|
||||
Reference in New Issue
Block a user