mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
util: uri: remove cleanup label
Signed-off-by: Barrett Schonefeld <bschoney@utexas.edu> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
32ec462fd9
commit
f3522af454
@ -241,10 +241,9 @@ virURIFormat(virURIPtr uri)
|
|||||||
ret = (char *)xmlSaveUri(&xmluri);
|
ret = (char *)xmlSaveUri(&xmluri);
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
virReportOOMError();
|
virReportOOMError();
|
||||||
goto cleanup;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup:
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user