forked from enlightenment/efl
efl_ui_textpath: clear up path data when it's destructed.
This fixes path data memory leak. @fix
This commit is contained in:
parent
cdaebfa040
commit
21bebe0422
|
@ -720,6 +720,8 @@ _efl_ui_textpath_efl_object_destructor(Eo *obj, Efl_Ui_Textpath_Data *pd)
|
||||||
evas_object_del(line);
|
evas_object_del(line);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
efl_gfx_path_reset(obj);
|
||||||
|
|
||||||
efl_destructor(efl_super(obj, MY_CLASS));
|
efl_destructor(efl_super(obj, MY_CLASS));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue