]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu-ga: Fix null pointer passed to unlink in failure branch
authorStefan Weil <sw@weilnetz.de>
Fri, 24 Aug 2012 05:03:03 +0000 (07:03 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 30 Aug 2012 19:54:16 +0000 (14:54 -0500)
commitcccb5446a6d1083b51d851ef5a4f1acff9173127
treee51006be2e515f1456e44a9626f7c91ce8c334e0
parent25c0807e3ca1026b245243e156e764cf989be6bf
qemu-ga: Fix null pointer passed to unlink in failure branch

Clang reports this warning:

Null pointer passed as an argument to a 'nonnull' parameter

Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 4bdb1a3059d7d3a931de0748a2eec39a0ab41b4e)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qemu-ga.c