jaehwan pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=eaa50a3d3acff454471cccb204f20da486e652c4
commit eaa50a3d3acff454471cccb204f20da486e652c4 Author: Sung-Taek Hong <sth253.h...@samsung.com> Date: Thu Dec 17 16:09:30 2015 +0900 elm_photocam: add NULL check @fix Reviewers: woohyun, jaehwan, eunue Differential Revision: https://phab.enlightenment.org/D3429 --- src/lib/elm_photocam.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/elm_photocam.c b/src/lib/elm_photocam.c index d5a27c2..2854289 100644 --- a/src/lib/elm_photocam.c +++ b/src/lib/elm_photocam.c @@ -1708,6 +1708,9 @@ EAPI Evas_Load_Error elm_photocam_file_set(Elm_Photocam *obj, const char *file) { Eina_Bool ret; + + ELM_PHOTOCAM_CHECK(obj) EVAS_LOAD_ERROR_NONE; + EINA_SAFETY_ON_NULL_RETURN_VAL(file, EVAS_LOAD_ERROR_NONE); if (eo_do_ret(obj, ret, efl_file_set(file, NULL))) return EVAS_LOAD_ERROR_NONE; Eina_Error err = eina_error_get(); --