eina-tiler: fix crash when trying to check intersection between two tilers
authorGwanglim Lee <gl77.lee@samsung.com>
Thu, 12 Jun 2014 03:33:20 +0000 (12:33 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 12 Jun 2014 03:40:24 +0000 (12:40 +0900)
commite3f4f4457d1614912cd43fc9db3dd07a7a8fe911
tree39dff6fa36aeb055ef008e5a4523743d1c2d16b3
parentc99449ea099d48699dab8c21e6959b086aca05be
eina-tiler: fix crash when trying to check intersection between two tilers

Summary:
If one of the given tilers is empty, then crash could be occurred in internal while loop of eina_tiler_intersection.
And fix some memory leaks in eina_tiler_intersection and eina_tiler_equal.

Reviewers: devilhorns, raster, cedric, torori

CC: cedric
Differential Revision: https://phab.enlightenment.org/D996
src/lib/eina/eina_tiler.c