From: Rajesh PS Date: Mon, 10 Jun 2013 11:23:20 +0000 (+0530) Subject: [elm_conformant] Added null check before accessing smart data in _on_del and _on_cont... X-Git-Tag: accepted/tizen/20130927.071315^2~206 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7937aa59eefaec0023326d5734e0fa6d6542af6b;p=profile%2Fmobile%2Felementary.git [elm_conformant] Added null check before accessing smart data in _on_del and _on_content_resize [Patch2] Removed checking from _on_content_resize since that check is redundant Change-Id: I86b6fef5fef3fc90dfe1d8759bb2f685ed673eb7 --- diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c index fa78870..5a6a6e4 100644 --- a/src/lib/elm_conform.c +++ b/src/lib/elm_conform.c @@ -859,6 +859,7 @@ _on_del(void *data, void *event_info __UNUSED__) { ELM_CONFORMANT_DATA_GET(data, sd); + EINA_SAFETY_ON_NULL_RETURN(sd); if (sd->scroller) {