tests: fix race in streamsynchronizer test
authorTim-Philipp Müller <tim@centricular.com>
Tue, 12 Nov 2013 18:58:43 +0000 (18:58 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 12 Nov 2013 19:03:19 +0000 (19:03 +0000)
commit7509343e53dbabbde7bb728becc9bc2fc9a2808a
treee25771a55cd6d57a3afce9b96aed1344bfcc4289
parentcd52ff313e2c9eca0d20787f598b1d752da4c5f7
tests: fix race in streamsynchronizer test

Wait for thread to exit before starting to free the
to_push list, otherwise thread might check the final
to_push->next node only after we've freed it already.
tests/check/elements/streamsynchronizer.c