diff options
author | Fam Zheng <famz@redhat.com> | 2014-05-28 11:38:58 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-05-30 14:26:54 +0200 |
commit | c13959c745a7e4965c94d19e3153d2c44459906d (patch) | |
tree | 6f8f1743865c7cbd8bdd8f16ed10cdad3ad209e2 /block/qcow2-snapshot.c | |
parent | 675036e4dadd2426c93c54d7f7155f519eda53e6 (diff) |
vmdk: Fix local_err in vmdk_create
In vmdk_create and vmdk_create_extent, initialize local_err before using
it, and don't leak it on error.
Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2-snapshot.c')
0 files changed, 0 insertions, 0 deletions