diff options
author | Bandan Das <bsd@redhat.com> | 2015-12-23 14:39:46 +0530 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-01-08 09:25:50 +0100 |
commit | c22d5dcd7a8ee8316dfbad66d13abb6d661c86b9 (patch) | |
tree | 742c95fbd48dbdc7fcd304a55ef9535461528dae /qga/channel-posix.c | |
parent | 0922c3f6064ebe4c65fd1190b014a742083b5906 (diff) | |
download | qemu-c22d5dcd7a8ee8316dfbad66d13abb6d661c86b9.zip |
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 <bsd@redhat.com>
Message-id: 1450861787-16213-2-git-send-email-bsd@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qga/channel-posix.c')
0 files changed, 0 insertions, 0 deletions