summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-24 09:35:56 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-24 09:35:56 +0000
commitb2de05f49a5b064952a224b22d1bb6a9093c4b3b (patch)
tree7520ead6fa7829bbb2cae47d9847025a0bdbfe71 /src/lib/ecore_evas
parentf5a98df8ded2946c21464b45068845208bf67c4a (diff)
all efl object deletion functions now take NULL without crashing or erroring
SVN revision: 81667
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 806fa03e3a..7d4edaef42 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -699,6 +699,7 @@ ecore_evas_ecore_evas_get(const Evas *e)
699EAPI void 699EAPI void
700ecore_evas_free(Ecore_Evas *ee) 700ecore_evas_free(Ecore_Evas *ee)
701{ 701{
702 if (!ee) return;
702 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 703 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
703 { 704 {
704 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS, 705 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,