commit | 3dce9cad5a6c0b0dbe0830973b270c9466c8ab4b | [log] [tgz] |
---|---|---|
author | Wenchao Xia <xiawenc@linux.vnet.ibm.com> | Wed Nov 06 02:35:50 2013 +0800 |
committer | Anthony Liguori <aliguori@amazon.com> | Tue Nov 05 19:58:38 2013 -0800 |
tree | 09562c139c5b9d2ce5ba3d4e6e7ba0ebaa655485 | |
parent | 7d579514a5a7b308b52d4e8567aa9bd1f7aa761b [diff] |
qapi: fix memleak by adding implict struct functions in dealloc visitor Otherwise member "base" is leaked in a qapi_free_STRUCTURE() call. Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1383676551-18806-2-git-send-email-xiawenc@linux.vnet.ibm.com Cc: qemu-stable@nongnu.org Signed-off-by: Anthony Liguori <aliguori@amazon.com>