diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2017-07-14 11:31:05 +0100 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2017-07-25 16:33:31 +0200 |
commit | 0696ae2c9236a3589f5eaf5b00c12868b6f30a17 (patch) | |
tree | 57aca1a5923eb3dc971fe1d51049f7cdd4bef5a1 /fpu | |
parent | 4c4414a4388f902b7ae2814f9a64898dd0e426a5 (diff) | |
download | qemu-0696ae2c9236a3589f5eaf5b00c12868b6f30a17.zip qemu-0696ae2c9236a3589f5eaf5b00c12868b6f30a17.tar.gz qemu-0696ae2c9236a3589f5eaf5b00c12868b6f30a17.tar.bz2 |
qcow: fix memory leaks related to encryption
Fix leak of the 'encryptopts' string, which was mistakenly
declared const.
Fix leak of QemuOpts entry which should not have been deleted
from the opts array.
Reported by: coverity
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170714103105.5781-1-berrange@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions