summaryrefslogtreecommitdiffstats
path: root/qobject/qstring.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2014-07-13 16:41:08 +0200
committerAndreas Färber2014-09-04 16:14:47 +0200
commit8af734ca318369c4eb76f355ed4cc7d4e6abc2a6 (patch)
tree98d98a591f95c2f05ef9fc2205b19dc92848053e /qobject/qstring.c
parentMerge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-09-03' in... (diff)
downloadqemu-8af734ca318369c4eb76f355ed4cc7d4e6abc2a6.tar.gz
qemu-8af734ca318369c4eb76f355ed4cc7d4e6abc2a6.tar.xz
qemu-8af734ca318369c4eb76f355ed4cc7d4e6abc2a6.zip
qom: Make object_child_foreach() safe for objects removal
Current object_child_foreach() uses QTAILQ_FOREACH() to walk through children and that makes children removal from the callback impossible. This makes object_child_foreach() use QTAILQ_FOREACH_SAFE(). Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Hu Tao <hutao@cn.fujitsu.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'qobject/qstring.c')
0 files changed, 0 insertions, 0 deletions