summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-03-07 13:35:06 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-03-07 13:35:06 +0900
commit32d1c5562650dcdb8ced43c73d9c46a47a60d0aa (patch)
tree20dc75a4afa75ce53dd8bf86a0d38f0a60f6a529
parenta72dbe47416dc88aea1c09f1a9b6e064cb20c0da (diff)
transit - elm_transit_del() allows null pass.
-rw-r--r--src/lib/elm_transit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elm_transit.c b/src/lib/elm_transit.c
index bb0cb007e..6a7b9f639 100644
--- a/src/lib/elm_transit.c
+++ b/src/lib/elm_transit.c
@@ -483,6 +483,8 @@ elm_transit_add(void)
483EAPI void 483EAPI void
484elm_transit_del(Elm_Transit *transit) 484elm_transit_del(Elm_Transit *transit)
485{ 485{
486 if (!transit) return;
487
486 ELM_TRANSIT_CHECK_OR_RETURN(transit); 488 ELM_TRANSIT_CHECK_OR_RETURN(transit);
487 489
488 transit->deleted = EINA_TRUE; 490 transit->deleted = EINA_TRUE;