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:
@@ -55,7 +55,7 @@ testCompareXMLToConfFiles(const char *inxml, const char *outconf, dnsmasqCapsPtr
|
||||
"except-interface=lo\n")))
|
||||
goto fail;
|
||||
VIR_FREE(actual);
|
||||
VIR_STEAL_PTR(actual, tmp);
|
||||
actual = g_steal_pointer(&tmp);
|
||||
#endif
|
||||
|
||||
if (virTestCompareToFile(actual, outconf) < 0)
|
||||
|
||||
Reference in New Issue
Block a user