efl_ui_textpath: clear up path data when it's destructed.

This fixes path data memory leak.

@fix
This commit is contained in:
Hermet Park 2019-08-09 13:43:50 +09:00
parent cdaebfa040
commit 21bebe0422
1 changed files with 2 additions and 0 deletions

View File

@ -720,6 +720,8 @@ _efl_ui_textpath_efl_object_destructor(Eo *obj, Efl_Ui_Textpath_Data *pd)
evas_object_del(line);
#endif
efl_gfx_path_reset(obj);
efl_destructor(efl_super(obj, MY_CLASS));
}