core: Copy the factory list before creating devices
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 30 Jul 2009 14:37:32 +0000 (17:37 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 30 Jul 2009 14:37:32 +0000 (17:37 +0300)
commit7d68b2845128183b89bfe33106fba25e1243dc26
tree1928406074c64426214501e46e655500cf6e0b27
parentb14a0fc300067c840ebb03011c8fd204bb990516
core: Copy the factory list before creating devices

We iterate over the copy of the list rather than list itself because
there is high chances of the original list being modified during the
iteration, which is not allowed by libgee.
src/rygel/rygel-main.vala