blkdebug: Free QemuOpts after having read the config
[qemu.git] / block / blkdebug.c
index 4ec8ca69848c672a9470842bca676bb496db9481..78cbff4bdc1c3a20ebc723ad4ea160d6bf5d5e6a 100644 (file)
@@ -267,6 +267,8 @@ static int read_config(BDRVBlkdebugState *s, const char *filename)
 
     ret = 0;
 fail:
+    qemu_opts_reset(&inject_error_opts);
+    qemu_opts_reset(&set_state_opts);
     fclose(f);
     return ret;
 }
This page took 0.022712 seconds and 4 git commands to generate.