You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2016/09/07 15:48:17 UTC

lucy-charmonizer git commit: Fix memory leak in MakeBinary_obj_string

Repository: lucy-charmonizer
Updated Branches:
  refs/heads/master dbb49e072 -> 26c6577ea


Fix memory leak in MakeBinary_obj_string


Project: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/commit/26c6577e
Tree: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/tree/26c6577e
Diff: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/diff/26c6577e

Branch: refs/heads/master
Commit: 26c6577ea5eae86ea824c9f8171180ba7c519151
Parents: dbb49e0
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Wed Sep 7 17:36:56 2016 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Wed Sep 7 17:36:56 2016 +0200

----------------------------------------------------------------------
 src/Charmonizer/Core/Make.c | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/blob/26c6577e/src/Charmonizer/Core/Make.c
----------------------------------------------------------------------
diff --git a/src/Charmonizer/Core/Make.c b/src/Charmonizer/Core/Make.c
index 8189f9f..3240ff5 100644
--- a/src/Charmonizer/Core/Make.c
+++ b/src/Charmonizer/Core/Make.c
@@ -1121,6 +1121,8 @@ chaz_MakeBinary_obj_string(chaz_MakeBinary *self) {
         tmp = chaz_Util_join("", retval, sep, obj_path, NULL);
         free(retval);
         retval = tmp;
+
+        free(obj_path);
     }
 
     return retval;