summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/prefs/elm_entry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/prefs/elm_entry.c b/src/modules/prefs/elm_entry.c
index 301842d41..ac299cba4 100644
--- a/src/modules/prefs/elm_entry.c
+++ b/src/modules/prefs/elm_entry.c
@@ -60,6 +60,7 @@ elm_prefs_entry_value_validate(Evas_Object *obj)
60 size_t min; 60 size_t min;
61 61
62 val = elm_entry_entry_get(obj); 62 val = elm_entry_entry_get(obj);
63 if (!val) return EINA_FALSE;
63 64
64 regex = evas_object_data_get(obj, "accept_regex"); 65 regex = evas_object_data_get(obj, "accept_regex");
65 if (regex) 66 if (regex)
@@ -209,6 +210,7 @@ elm_prefs_entry_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
209 elm_entry_markup_filter_append(obj, elm_entry_filter_limit_size, &limit); 210 elm_entry_markup_filter_append(obj, elm_entry_filter_limit_size, &limit);
210 elm_layout_text_set(obj, NULL, spec.s.placeholder); 211 elm_layout_text_set(obj, NULL, spec.s.placeholder);
211 212
213 regfree(regex);
212 return obj; 214 return obj;
213} 215}
214 216