Commit: be8c5be809875ba449a10ca29f5244f0231f6b63
Parent: fc67e0ca0658239b3778f6cbbd5cc778a1544714
Author: Lucas De Marchi <lucas.de.marchi@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-10-04 21:21:12
Tree: a7830d93efeb146ae6b2951763e1282c4d89fa5b

core: Fix walking the list while removing elements If we are walking a GSList and remove the element we are pointing to, the next iteration g_slist_next() will access previously freed memory.

Diffstat

M src/device.c | 5 +++- -

1 files changed, 3 insertions(+), 2 deletions(-)

View Full Diff | Patch