smbios: use g_free directly on NULL pointers
commita10678b08ecf87ef0b73426a876679178b392bcc
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Jun 2014 16:00:28 +0000 (4 18:00 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 10 Jun 2014 15:39:34 +0000 (10 19:39 +0400)
tree93d0139cf5090b2fdebfebd058d59f012b43e259
parent6998b6c11b4e8ca5e3c3e6bdbdf07a4f747d5d37
smbios: use g_free directly on NULL pointers

No need to wrap it with an if.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/i386/smbios.c