Revision 7267c094 bt-host.c
b/bt-host.c | ||
---|---|---|
177 | 177 |
} |
178 | 178 |
# endif |
179 | 179 |
|
180 |
s = qemu_mallocz(sizeof(struct bt_host_hci_s));
|
|
180 |
s = g_malloc0(sizeof(struct bt_host_hci_s));
|
|
181 | 181 |
s->fd = fd; |
182 | 182 |
s->hci.cmd_send = bt_host_cmd; |
183 | 183 |
s->hci.sco_send = bt_host_sco; |
Also available in: Unified diff