summary refs log tree commit diff stats
path: root/console.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-10-10 08:09:02 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-10-10 08:09:02 -0500
commit057643f6c4751651ab640edb9b445cb3816edffc (patch)
tree31ba8fd4a0a24d08474ba568a0fd0cfe34a3644e /console.c
parent9f047b8948f43dddb0ee2a391939999fab13eaf4 (diff)
parentca8a277ccc911ce8501b1bc984a09f988379d8c3 (diff)
downloadfocaccia-qemu-057643f6c4751651ab640edb9b445cb3816edffc.tar.gz
focaccia-qemu-057643f6c4751651ab640edb9b445cb3816edffc.zip
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
Diffstat (limited to 'console.c')
-rw-r--r--console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.c b/console.c
index 6dfcc47940..e43de92c00 100644
--- a/console.c
+++ b/console.c
@@ -1538,7 +1538,7 @@ int text_console_init(QemuOpts *opts, CharDriverState **_chr)
     }
 
     if (!s) {
-        free(chr);
+        g_free(chr);
         return -EBUSY;
     }