summaryrefslogtreecommitdiff
path: root/src/lib/eo
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-03-12 10:59:04 -0400
committerChristopher Michael <cp.michael@samsung.com>2019-03-12 10:59:04 -0400
commitd7beb192daaa10ef07837214371821e5109ed74b (patch)
tree635225d90dbbd1ae547b04748b2e07fa14507c1b /src/lib/eo
parenta9c174c4ee5070e42abb2ed233d82219f668fa79 (diff)
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
Diffstat (limited to 'src/lib/eo')
-rw-r--r--src/lib/eo/eo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 301a015859..a95c27a42d 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -1547,6 +1547,7 @@ efl_class_new(const Efl_Class_Description *desc, const Efl_Class *parent_id, ...
1547 break; 1547 break;
1548 default: 1548 default:
1549 ERR("type cannot be INVALID"); 1549 ERR("type cannot be INVALID");
1550 va_end(p_list);
1550 return NULL; 1551 return NULL;
1551 } 1552 }
1552 } 1553 }