]> Git Repo - qemu.git/blobdiff - hw/usb/combined-packet.c
Merge remote-tracking branch 'remotes/kraxel/tags/pull-input-9' into staging
[qemu.git] / hw / usb / combined-packet.c
index 4a0c299457f68f20f8d01b0bf51c78a47f13c452..ad77705f8cec1d45de4e8e11ceaec2c45a22bd7a 100644 (file)
@@ -21,7 +21,7 @@
  */
 #include "qemu-common.h"
 #include "hw/usb.h"
-#include "iov.h"
+#include "qemu/iov.h"
 #include "trace.h"
 
 static void usb_combined_packet_add(USBCombinedPacket *combined, USBPacket *p)
@@ -39,6 +39,7 @@ static void usb_combined_packet_remove(USBCombinedPacket *combined,
     p->combined = NULL;
     QTAILQ_REMOVE(&combined->packets, p, combined_entry);
     if (QTAILQ_EMPTY(&combined->packets)) {
+        qemu_iovec_destroy(&combined->iov);
         g_free(combined);
     }
 }
This page took 0.025666 seconds and 4 git commands to generate.