elm slider - don't double-free output format.

This commit is contained in:
Carsten Haitzler 2021-03-02 12:52:53 +00:00
parent 914a85159b
commit 67acb15a1f
1 changed files with 3 additions and 0 deletions

View File

@ -1270,6 +1270,9 @@ _elm_slider_efl_ui_format_format_cb_set(Eo *obj, Elm_Slider_Data *sd, void *func
if (sd->format_cb_data && sd->format_free_cb)
sd->format_free_cb(sd->format_cb_data);
sd->format_cb = NULL;
sd->format_cb_data = NULL;
sd->format_free_cb = NULL;
if (efl_invalidated_get(obj)) return;