evas: fix double free.
authorCedric BAIL <cedric@osg.samsung.com>
Wed, 2 Dec 2015 20:27:25 +0000 (12:27 -0800)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 2 Dec 2015 20:30:34 +0000 (12:30 -0800)
commit11ac6b145d826159b6d336964a965d330127c4cb
treee46e6110da5e0a64817ee41331d46f52323ca4a7
parent59e9e2ddc873dc8f0fd6fd8e1e68707d955c0401
evas: fix double free.

The ownership of this list and its content belong to the iterator. This code
was actively double freeing and our test suite doesn't crash or have any issue...
Well actually it was complaining that the list had error, but due to our other
false positive test that do trigger eina log, we continuously ignored this error.

NOTE: The fact that the test rely also on the container of the iterator instead
of the iterator itself is not that great to. I kind of feel bad now for having
allowed access to the container. We should have been able to allow changing the
logic to generate those rectangle step after step instead of in one go. Now this
seems difficult.
src/tests/evas/evas_test_textblock.c