commit | 7267c0947d7e8ae5dff7bafd932c3bc285f43e5c | [log] [tgz] |
---|---|---|
author | Anthony Liguori <aliguori@us.ibm.com> | Sat Aug 20 22:09:37 2011 -0500 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Sat Aug 20 23:01:08 2011 -0500 |
tree | 9aa05d6e05ed83e67bf014f6745a3081b8407dc5 | |
parent | 14015304b662e8f8ccce46c5a6927af6a14c510b [diff] [blame] |
Use glib memory allocation and free functions qemu_malloc/qemu_free no longer exist after this commit. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/bt-host.c b/bt-host.c index 095254d..df5b7cd 100644 --- a/bt-host.c +++ b/bt-host.c
@@ -177,7 +177,7 @@ } # endif - s = qemu_mallocz(sizeof(struct bt_host_hci_s)); + s = g_malloc0(sizeof(struct bt_host_hci_s)); s->fd = fd; s->hci.cmd_send = bt_host_cmd; s->hci.sco_send = bt_host_sco;