Repository: lucy-clownfish
Updated Branches:
  refs/heads/master 45be7f49b -> 0e8aa921a


Fix memory leak


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/0e8aa921
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/0e8aa921
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/0e8aa921

Branch: refs/heads/master
Commit: 0e8aa921a2563e7bcf39c79617034f156f41db52
Parents: 45be7f4
Author: Nick Wellnhofer <wellnho...@aevum.de>
Authored: Wed Mar 1 17:30:30 2017 +0100
Committer: Nick Wellnhofer <wellnho...@aevum.de>
Committed: Wed Mar 1 17:30:30 2017 +0100

----------------------------------------------------------------------
 compiler/src/CFCBindCore.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/0e8aa921/compiler/src/CFCBindCore.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCBindCore.c b/compiler/src/CFCBindCore.c
index 4bd943e..ec0fdf2 100644
--- a/compiler/src/CFCBindCore.c
+++ b/compiler/src/CFCBindCore.c
@@ -657,6 +657,7 @@ S_write_platform_h(CFCBindCore *self) {
     remove(filepath);
     CFCUtil_write_file(filepath, file_content, strlen(file_content));
     FREEMEM(filepath);
+    FREEMEM(file_content);
 }
 
 void

Reply via email to