summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_ui_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efl/interfaces/efl_ui_format.c')
-rw-r--r--src/lib/efl/interfaces/efl_ui_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_format.c b/src/lib/efl/interfaces/efl_ui_format.c
index 6cb64f3..c0dd9d6 100644
--- a/src/lib/efl/interfaces/efl_ui_format.c
+++ b/src/lib/efl/interfaces/efl_ui_format.c
@@ -38,7 +38,7 @@ _default_format_free_cb(void *data)
38{ 38{
39 Efl_Ui_Format_Data *sd = data; 39 Efl_Ui_Format_Data *sd = data;
40 40
41 if (sd->template) 41 if (sd && sd->template)
42 { 42 {
43 eina_stringshare_del(sd->template); 43 eina_stringshare_del(sd->template);
44 sd->template = NULL; 44 sd->template = NULL;