diff options
Diffstat (limited to 'bt-host.c')
-rw-r--r-- | bt-host.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ struct HCIInfo *bt_host_hci(const char *id) } # 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; |