aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/baum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/baum.c b/hw/baum.c
index 565484e68f..7dac684107 100644
--- a/hw/baum.c
+++ b/hw/baum.c
@@ -621,6 +621,7 @@ CharDriverState *chr_baum_init(void)
fail:
qemu_free_timer(baum->cellCount_timer);
brlapi__closeConnection(handle);
+fail_handle:
free(handle);
free(chr);
free(baum);