evas: avoid unecessary Eina_Cow GC during image destruction.
authorCedric BAIL <cedric.bail@free.fr>
Fri, 6 Dec 2019 02:54:10 +0000 (18:54 -0800)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 11 Dec 2019 21:23:08 +0000 (06:23 +0900)
commitae94ad583e1adaf9dd4fd56bff332f65b20951c7
tree2c22e33b0c8c9b59ff573ae3a041f2bce494ef12
parent72acaf9aa70e6dfe2cad9651b9a96849b6685722
evas: avoid unecessary Eina_Cow GC during image destruction.

If the stretch zone are NULL to start with, there is no reason to modify
them and this should avoid us a trip to the GC.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10816
src/lib/evas/canvas/evas_object_image.c