commit | c13959c745a7e4965c94d19e3153d2c44459906d | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Wed May 28 11:38:58 2014 +0800 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri May 30 14:26:54 2014 +0200 |
tree | 6f8f1743865c7cbd8bdd8f16ed10cdad3ad209e2 | |
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>