diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-09-26 17:59:54 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-09-26 17:59:54 -0400 |
commit | a50bd311abf725cfe7cfe85b1c387efad7ee11c3 (patch) | |
tree | 4a9207fe3e2ffeafb95a0fafbda8d1550bc9ac00 | |
parent | 4a3b4e3b4a0dbee31e89730b88148beec0d25985 (diff) | |
download | efl-a50bd311abf725cfe7cfe85b1c387efad7ee11c3.tar.gz |
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
-rw-r--r-- | src/lib/elementary/efl_ui_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c index 64c81247b8..050f05e00f 100644 --- a/src/lib/elementary/efl_ui_image.c +++ b/src/lib/elementary/efl_ui_image.c @@ -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 { |