commit | 26c6577ea5eae86ea824c9f8171180ba7c519151 | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Wed Sep 07 17:36:56 2016 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Wed Sep 07 17:36:56 2016 +0200 |
tree | ebdc2d2a534a097e87597970b28af190514e8420 | |
parent | dbb49e072b04be5394b441326b151082cb39d364 [diff] |
Fix memory leak in MakeBinary_obj_string
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 @@ tmp = chaz_Util_join("", retval, sep, obj_path, NULL); free(retval); retval = tmp; + + free(obj_path); } return retval;