[libvirt] [PATCH 12/17] Fix leak in qemuParseCommandLine on OOM

Ján Tomko jtomko at redhat.com
Wed Sep 25 08:17:05 UTC 2013


On 09/24/2013 06:04 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> If the call to virDomainControllerInsert fails in
> qemuParseCommandLine, the controller struct is leaked.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/qemu/qemu_command.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

ACK




More information about the libvir-list mailing list