Introduced in commit da557a. Spotted by Coverity. Signed-off-by: Markus Armbruster <arm...@redhat.com> --- block.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/block.c b/block.c index 40c5e1a..1996f84 100644 --- a/block.c +++ b/block.c @@ -1196,6 +1196,7 @@ int bdrv_open_image(BlockDriverState **pbs, const char *filename, bdref_key); ret = -EINVAL; } + QDECREF(image_options); goto done; } -- 1.9.3