evas: Fix missing varargs cleanup

This patch fixes Coverity CID1364123 which reports that (in some
cases) va_end was not being called for var args. As they were
previously initialized with va_start, then va_end should be getting
called.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2016-10-13 12:43:44 -04:00
parent 4b2d459783
commit 61643e6a06
1 changed files with 3 additions and 3 deletions

View File

@ -204,10 +204,10 @@ _evas_object_intercept_call(Evas_Object *eo_obj, Evas_Object_Intercept_Cb_Type c
if (!internal)
{
if (_efl_canvas_object_clip_unset_block(eo_obj, obj))
return 1;
goto end_block;
}
if (!obj->interceptors) return 0;
return evas_object_intercept_call_clip_unset(eo_obj, obj);
if (!obj->interceptors) goto end_noblock;
blocked = evas_object_intercept_call_clip_unset(eo_obj, obj);
}
va_end(args);