The first change replaces QLIST_FOREACH with the safe variant and the second was incorrectly using MTPObject * in the trace function after freeing it.
Bandan Das (2): usb-mtp: use safe variant when cleaning events list usb-mtp: fix call to trace function hw/usb/dev-mtp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.6.2