From 81d76776be38705e0105a5aa2304603eb1654688 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 5 Oct 2017 09:46:18 -0400 Subject: [PATCH] eolian-bin: Free previously allocated eina_strbuf Coverity reports that the eina_strbuf 'param_call' leaks when it goes out of scope here, so fix the leak by freeing the strbuf Fixes CID1381502 @fix Signed-off-by: Chris Michael --- src/bin/eolian/sources.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/eolian/sources.c b/src/bin/eolian/sources.c index 353c78b..c8d71d4 100644 --- a/src/bin/eolian/sources.c +++ b/src/bin/eolian/sources.c @@ -386,6 +386,8 @@ _gen_func(const Eolian_Unit *src, const Eolian_Class *cl, eina_strbuf_free(fallback_free_ownership); fallback_free_ownership = NULL; } + + eina_strbuf_free(param_call); } /* property values or method params if applicable */ -- 2.7.4