]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vz: reset errors after ignoring return values
authorMaxim Nestratov <mnestratov@virtuozzo.com>
Wed, 3 Aug 2016 09:41:53 +0000 (12:41 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Thu, 18 Aug 2016 17:37:08 +0000 (20:37 +0300)
commit0f13dc81d717fc27acae0856ce496f88b84da34d
tree6a02580d14cba453757e5077c50a1c32cc64fb18
parentd9e0d4ecbb74807b822aa5a0825f012c25c0dbe4
vz: reset errors after ignoring return values

If we are going to ignore return value of a functions
that can raise an error, it's not enough to use ignore_value
construction. We should explicitly call virResetLastError

Signed-off-by: Maxim Nestratov <mnestratov@virtuozzo.com>
src/vz/vz_driver.c
src/vz/vz_sdk.c