]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block.c
target/arm: Add TTBR1_EL2
[mirror_qemu.git] / block.c
diff --git a/block.c b/block.c
index fe5050c53f7b2185a6ea221355b6a6c3038e3e43..9c810534d6ff5db47cbd20bdc89eac41cae91319 100644 (file)
--- a/block.c
+++ b/block.c
@@ -6442,6 +6442,7 @@ void bdrv_refresh_filename(BlockDriverState *bs)
                 child->bs->exact_filename);
         pstrcpy(bs->filename, sizeof(bs->filename), child->bs->filename);
 
+        qobject_unref(bs->full_open_options);
         bs->full_open_options = qobject_ref(child->bs->full_open_options);
 
         return;