forked from enlightenment/efl
eo: Fix missing varags cleanup
Summary: Coverity reports that va_end is never called for p_list when we error out of this function. This patch adds a missing va_end before we error out of here. Fixes Coverity CID1399080 @fix Depends on D8315 Reviewers: raster, cedric, q66, zmike, bu5hm4n, stefan Reviewed By: q66 Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8316
This commit is contained in:
parent
a9c174c4ee
commit
d7beb192da
|
@ -1547,6 +1547,7 @@ efl_class_new(const Efl_Class_Description *desc, const Efl_Class *parent_id, ...
|
|||
break;
|
||||
default:
|
||||
ERR("type cannot be INVALID");
|
||||
va_end(p_list);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue