]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix failure to honour OOM status in qemuParseNBDString
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 24 Sep 2013 15:25:16 +0000 (16:25 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 25 Sep 2013 14:49:13 +0000 (15:49 +0100)
commita72d25f40f619c3174d23a06384d6551e16cf388
tree36b40a0152aea6917c8fc9a5a298de01fae5405b
parentd7e9f9f7e834948fe114afd0c49d893f48b6d8cc
Fix failure to honour OOM status in qemuParseNBDString

In qemuParseNBDString, if the virURIParse fails, the
error is not reported to the caller. Instead execution
falls through to the non-URI codepath causing memory
leaks later on.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/qemu/qemu_command.c