[libvirt] [PATCHv2 10/10] build: silence coverity false positive

2011-06-02 Thread Eric Blake
Coverity couldn't see that priv is clean on failure. But on failure, we might as well guarantee that callers don't try to free uninitialized memory. * src/remote/remote_driver.c (remoteGenericOpen): Even on failure, pass priv back to caller. --- In reading my own mail, I decided that patch 10

Re: [libvirt] [PATCHv2 10/10] build: silence coverity false positive

2011-06-02 Thread Daniel Veillard
On Thu, Jun 02, 2011 at 05:24:25PM -0600, Eric Blake wrote: Coverity couldn't see that priv is clean on failure. But on failure, we might as well guarantee that callers don't try to free uninitialized memory. * src/remote/remote_driver.c (remoteGenericOpen): Even on failure, pass priv back