diff options
| author | Li Qiang <liqiang6-s@360.cn> | 2016-09-18 19:48:35 -0700 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-10-08 11:25:29 +0300 |
| commit | b16c129daf0fed91febbb88de23dae8271c8898a (patch) | |
| tree | bbddc2b838300de364d2374fa8e443026e10e3b9 /include/qemu/bitmap.h | |
| parent | a43edcf20a14aab81373fe64a6ed8cf84eb2a7f3 (diff) | |
| download | focaccia-qemu-b16c129daf0fed91febbb88de23dae8271c8898a.tar.gz focaccia-qemu-b16c129daf0fed91febbb88de23dae8271c8898a.zip | |
usb: ehci: fix memory leak in ehci_process_itd
While processing isochronous transfer descriptors(iTD), if the page select(PG) field value is out of bands it will return. In this situation the ehci's sg list is not freed thus leading to a memory leak issue. This patch avoid this. Signed-off-by: Li Qiang <liqiang6-s@360.cn> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/qemu/bitmap.h')
0 files changed, 0 insertions, 0 deletions