block/crypto: Fix memory leak in create error path
commit0b68589d17ef2ea78b3cf016525db13cee1d99e7
authorKevin Wolf <kwolf@redhat.com>
Wed, 4 Jul 2018 12:55:06 +0000 (4 14:55 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 5 Jul 2018 08:29:19 +0000 (5 10:29 +0200)
treed53f4084d612d104e40d466fa323deb7759a151a
parent824808dd77821ceba05357cb1ee4069a6a95bebd
block/crypto: Fix memory leak in create error path

Fixes: Coverity CID 1393782
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
block/crypto.c