[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/7] usb-uvc: Use qemu_malloc()
From: |
Brad Hards |
Subject: |
[Qemu-devel] [PATCH 7/7] usb-uvc: Use qemu_malloc() |
Date: |
Thu, 2 Jun 2011 15:41:10 +1000 |
As requested by Blue Swirl (2010-06-10)
Signed-off-by: Brad Hards <address@hidden>
---
hw/usb-uvc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/usb-uvc.c b/hw/usb-uvc.c
index 1e3d339..d1e71f8 100644
--- a/hw/usb-uvc.c
+++ b/hw/usb-uvc.c
@@ -1025,7 +1025,7 @@ static int usb_uvc_initfn(USBDevice *dev)
DPRINTF("Maximum image size: %d bytes.\n", frame_max_length);
DPRINTF("Allocating memory for frames.\n");
- frame = malloc(frame_max_length);
+ frame = qemu_malloc(frame_max_length);
frame_start = frame;
frame_id = 1;
--
1.7.4.1
- [Qemu-devel] [0/7] USB UVC updates, Brad Hards, 2011/06/02
- [Qemu-devel] [PATCH 1/7] usb: Turn off debug output by default., Brad Hards, 2011/06/02
- [Qemu-devel] [PATCH 2/7] usb-uvc: compile fix, Brad Hards, 2011/06/02
- [Qemu-devel] [PATCH 4/7] usb-uvc: fix some spelling issues., Brad Hards, 2011/06/02
- [Qemu-devel] [PATCH 3/7] usb-uvc: Fix all checkpatch style issues., Brad Hards, 2011/06/02
- [Qemu-devel] [PATCH 5/7] usb-uvc: Add spaces around &, Brad Hards, 2011/06/02
- [Qemu-devel] [PATCH 6/7] usb-uvc: Fix a couple of typos, Brad Hards, 2011/06/02
- [Qemu-devel] [PATCH 7/7] usb-uvc: Use qemu_malloc(),
Brad Hards <=
- Re: [Qemu-devel] [0/7] USB UVC updates, Natalia Portillo, 2011/06/06