]> git.proxmox.com Git - qemu.git/blobdiff - usb-bsd.c
Use glib memory allocation and free functions
[qemu.git] / usb-bsd.c
index ab84d938578c69d0f52345dce8d9fedbf9dc18f4..11875527d53d2372774a0b03a65ad84d634fd655 100644 (file)
--- a/usb-bsd.c
+++ b/usb-bsd.c
@@ -290,7 +290,7 @@ static void usb_host_handle_destroy(USBDevice *opaque)
 
     close(s->devfd);
 
-    qemu_free(s);
+    g_free(s);
 }
 
 static int usb_host_initfn(USBDevice *dev)