Revert "elm_conform: to prevent crash, add null check before resizing conformant... 59/43059/3
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Tue, 7 Jul 2015 10:03:02 +0000 (19:03 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Tue, 7 Jul 2015 11:00:58 +0000 (04:00 -0700)
This reverts commit 23d825fc54b1c02dbf9e9285c926d23bef65c89a.

Change-Id: If2a754cb35a7daf641d23f23de36a508d3801dc5

src/lib/elm_conform.c

index 36b8f6e..8c448f3 100644 (file)
@@ -914,11 +914,6 @@ _on_conformant_changed(void *data,
    part_type = (ELM_CONFORMANT_INDICATOR_PART |
                 ELM_CONFORMANT_VIRTUAL_KEYPAD_PART);
 
-   ELM_CONFORMANT_DATA_GET(data, sd);
-
-   /* object is already freed */
-   if (!sd) return;
-
    _conformant_part_sizing_eval(data, part_type);
 }