mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-08 05:55:19 +00:00
Fix use of VIR_STRDUP vs strdup
Commit 894f784948
broke the v1.0.5-maint
branch because VIR_STRDUP() didn't exist in the v1.0.5 release so the
resulting build is missing that symbol.
This patch is only for the v1.0.5-maint branch.
This commit is contained in:
parent
dc200aa851
commit
ab7e3039e0
@ -1223,7 +1223,7 @@ qemuMigrationDriveMirror(virQEMUDriverPtr driver,
|
||||
virReportOOMError();
|
||||
goto error;
|
||||
}
|
||||
} else if (VIR_STRDUP(hoststr, host) < 0) {
|
||||
} else if ((hoststr = strdup(host)) == NULL) {
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user