]> Git Repo - qemu.git/commit
usb-mtp: use safe variant when cleaning events list
authorBandan Das <[email protected]>
Wed, 23 Dec 2015 09:09:46 +0000 (14:39 +0530)
committerGerd Hoffmann <[email protected]>
Fri, 8 Jan 2016 08:25:50 +0000 (09:25 +0100)
commitc22d5dcd7a8ee8316dfbad66d13abb6d661c86b9
tree742c95fbd48dbdc7fcd304a55ef9535461528dae
parent0922c3f6064ebe4c65fd1190b014a742083b5906
usb-mtp: use safe variant when cleaning events list

usb_mtp_inotify_cleanup uses QLIST_FOREACH to pick events
from a list and free them which is incorrect. Use QLIST_FOREACH_SAFE
instead.

Signed-off-by: Bandan Das <[email protected]>
Message-id: 1450861787[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb/dev-mtp.c
This page took 0.021137 seconds and 4 git commands to generate.