block: fix two resources leaks discovered by Coverity
authorDaniel Golle <daniel@makrotopia.org>
Sat, 14 Aug 2021 17:30:48 +0000 (18:30 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 14 Aug 2021 17:53:21 +0000 (18:53 +0100)
commit2e3aca299ea7bbe74f219860510c4b34e77c7aa4
tree24e0de6b41e08a6060aa1a7a6dd9da46cac0d38c
parenta77c4fac6f059e24257bf6fa810be03b4b9d7951
block: fix two resources leaks discovered by Coverity

Coverity CID: 1412456 Resource leak
Coverity CID: 1412458 Resource leak

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
block.c