aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/eolian
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-10-05 09:46:18 -0400
committerChris Michael <cp.michael@samsung.com>2017-10-05 09:46:18 -0400
commit81d76776be38705e0105a5aa2304603eb1654688 (patch)
tree71b51010c9b73003b05ea16e714cdfac82969f1b /src/bin/eolian
parentevas: remove image_load from the engine. (diff)
downloadefl-81d76776be38705e0105a5aa2304603eb1654688.tar.gz
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 <cp.michael@samsung.com>
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/sources.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/eolian/sources.c b/src/bin/eolian/sources.c
index 353c78b7d6..c8d71d4b24 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 */