evas: Fix a crash in textblock
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 5 Jul 2017 08:39:55 +0000 (17:39 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 5 Jul 2017 08:43:59 +0000 (17:43 +0900)
commit722725dfc53e4f0b9d719e2f58bc63e38385d0d6
treef94145434ff6e7a0a3672bc72bea0d2a3de67a4f
parent45c4f67b2803891e4f1d0d02d632b50b85d40323
evas: Fix a crash in textblock

I could not reproduce it but the case should not happen,
so I'm adding a safety check rather than a silent return.

The private data should be NULL only after evas_object_free()
or before construction...

Fixes T5656
src/lib/evas/canvas/evas_object_textblock.c