libqos: Allow calling guest_free on NULL pointer
commit28452758c405e16d9890c44d6031d44233e8cb38
authorFam Zheng <famz@redhat.com>
Fri, 24 Apr 2015 11:35:17 +0000 (24 19:35 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 17 Jun 2015 14:03:47 +0000 (17 16:03 +0200)
treee503cf594e49f3bc455aba883ffd6a3e333353cb
parentebe7d8b166c59b029521f8d95db011e5e0fc649d
libqos: Allow calling guest_free on NULL pointer

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/libqos/malloc.c