summary refs log tree commit diff stats
path: root/scripts/vmstate-static-checker.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-01-26 21:37:15 +0100
committerMarkus Armbruster <armbru@redhat.com>2015-02-05 17:16:11 +0100
commit7ad4c7200111d20eb97eed4f46b6026e3f0b0eef (patch)
treecabd6bb3d7f33267f2fbb153d946495fa268882b /scripts/vmstate-static-checker.py
parente4b77daa5724a9dd41aaa44d2dea4b8e92351081 (diff)
downloadfocaccia-qemu-7ad4c7200111d20eb97eed4f46b6026e3f0b0eef.tar.gz
focaccia-qemu-7ad4c7200111d20eb97eed4f46b6026e3f0b0eef.zip
coverity: Model g_free() isn't necessarily free()
Memory allocated with GLib needs to be freed with GLib.  Freeing it
with free() instead of g_free() is a common error.  Harmless when
g_free() is a trivial wrapper around free(), which is commonly the
case.  But model the difference anyway.

In a local scan, this flags four ALLOC_FREE_MISMATCH.  Requires
--enable ALLOC_FREE_MISMATCH, because the checker is still preview.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions