efl_ui/image fix null derefs

Summary:
CID 1405781, 1405780
Depends on D10209

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10210
This commit is contained in:
Mike Blumenkrantz 2019-09-26 17:59:54 -04:00
parent 4a3b4e3b4a
commit a50bd311ab
1 changed files with 2 additions and 2 deletions

View File

@ -1489,8 +1489,8 @@ _efl_ui_image_efl_gfx_image_stretch_region_get(const Eo *obj EINA_UNUSED, Efl_Ui
{
if (pd->edje)
{
*horizontal = NULL;
*vertical = NULL;
if (horizontal) *horizontal = NULL;
if (vertical) *vertical = NULL;
}
else
{