mirror of https://gitee.com/openkylin/libvirt.git
Need to call virFreeError after virSaveLastError
This commit is contained in:
parent
d0761c18a4
commit
c0b86c8c05
|
@ -2141,6 +2141,7 @@ err:
|
|||
|
||||
/* return the original error */
|
||||
virSetError(orig_error);
|
||||
virFreeError(orig_error);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue