diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-04 21:04:43 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-08 11:12:44 +0100 |
commit | b6b1d31f098eef8cd13556d343e46c213fac972a (patch) | |
tree | d26f301c75bdc8d5651492a912f1a63c7e16b056 /hw/ide/core.c | |
parent | ff74f33c310892c90c4439d963a6ce67f47ce18c (diff) | |
download | hqemu-b6b1d31f098eef8cd13556d343e46c213fac972a.zip hqemu-b6b1d31f098eef8cd13556d343e46c213fac972a.tar.gz |
vmdk: fix buf leak in vmdk_parse_extents()
vmdk_open_sparse() does not take ownership of buf so the caller always
needs to free it.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'hw/ide/core.c')
0 files changed, 0 insertions, 0 deletions