summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-06-02 18:23:44 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-06-02 18:23:42 -0400
commit539c2169b57518fa361c87961c98014dfeba40ff (patch)
tree35a4cab4d1c3300bc307b3702701a92cb3c26b77 /src/lib
parentf61e2636a5132d8fbe60ab708998d5c06e623aa2 (diff)
evas: don't crash in _evas_default_output_get() if no outputs exist
@fix
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/evas/include/evas_inline.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_inline.x b/src/lib/evas/include/evas_inline.x
index a48251a7b5..3093a949b3 100644
--- a/src/lib/evas/include/evas_inline.x
+++ b/src/lib/evas/include/evas_inline.x
@@ -353,7 +353,7 @@ _evas_default_output_get(Evas_Public_Data *e)
353 Efl_Canvas_Output *output; 353 Efl_Canvas_Output *output;
354 354
355 output = eina_list_data_get(e->outputs); 355 output = eina_list_data_get(e->outputs);
356 return output->output; 356 return output ? output->output : NULL;
357} 357}
358 358
359static inline void * 359static inline void *