summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChunEon Park <chuneon.park@samsung.com>2015-06-10 17:45:28 +0900
committerChunEon Park <chuneon.park@samsung.com>2015-06-10 17:46:31 +0900
commitbe0c2f5a317cda9ff836c680af11ea5d8aa76294 (patch)
tree0b64faecc031645ccf8caff8387ba9a72cc8e591 /src
parente644fd6a8c050a6dd5b08ba1a84c598c01a27c97 (diff)
ecore: null cb function is unacceptable.
@fix
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore/ecore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index 298e685d97..f94584d6d8 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -448,7 +448,8 @@ EAPI Eina_Bool
448ecore_fork_reset_callback_add(Ecore_Cb func, const void *data) 448ecore_fork_reset_callback_add(Ecore_Cb func, const void *data)
449{ 449{
450 Ecore_Fork_Cb *fcb; 450 Ecore_Fork_Cb *fcb;
451 451
452 if (!func) return EINA_FALSE;
452 fcb = calloc(1, sizeof(Ecore_Fork_Cb)); 453 fcb = calloc(1, sizeof(Ecore_Fork_Cb));
453 if (!fcb) return EINA_FALSE; 454 if (!fcb) return EINA_FALSE;
454 fcb->func = func; 455 fcb->func = func;