hermet pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=c703fba14347f11507ebadc8736539a5a8eae63e
commit c703fba14347f11507ebadc8736539a5a8eae63e Author: Hermet Park <[email protected]> Date: Thu Sep 5 18:04:07 2019 +0900 ethumb: fixed a potential dangling pointer. fixed by null handling. --- src/lib/ethumb/ethumb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/ethumb/ethumb.c b/src/lib/ethumb/ethumb.c index 38552bfad3..ca019823ae 100644 --- a/src/lib/ethumb/ethumb.c +++ b/src/lib/ethumb/ethumb.c @@ -624,7 +624,10 @@ ethumb_frame_set(Ethumb *e, const char *theme_file, const char *group, const cha { edje_object_part_unswallow(frame->edje, e->img); if (!theme_file) - _ethumb_frame_free(frame); + { + _ethumb_frame_free(frame); + frame = NULL; + } } if (!theme_file) --
