summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/filters/evas_filter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/filters/evas_filter.c b/src/lib/evas/filters/evas_filter.c
index 0dc50aaf9c..18969ecaaa 100644
--- a/src/lib/evas/filters/evas_filter.c
+++ b/src/lib/evas/filters/evas_filter.c
@@ -295,6 +295,8 @@ evas_filter_context_buffers_allocate_all(Evas_Filter_Context *ctx)
295 Evas_Filter_Buffer *in, *out; 295 Evas_Filter_Buffer *in, *out;
296 296
297 in = cmd->input; 297 in = cmd->input;
298 EINA_SAFETY_ON_NULL_GOTO(in, alloc_fail);
299
298 in->cleanup = EINA_FALSE; 300 in->cleanup = EINA_FALSE;
299 if (!in->w && !in->h) 301 if (!in->w && !in->h)
300 { 302 {
@@ -325,6 +327,7 @@ evas_filter_context_buffers_allocate_all(Evas_Filter_Context *ctx)
325 return EINA_FALSE; 327 return EINA_FALSE;
326 } 328 }
327 329
330 EINA_SAFETY_ON_NULL_GOTO(in, alloc_fail);
328 if (in->w) sw = in->w; 331 if (in->w) sw = in->w;
329 if (in->h) sh = in->h; 332 if (in->h) sh = in->h;
330 333