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 2015/05/05 11:39:05 UTC

[5/5] lucy-clownfish git commit: Fix memory leak in String test

Fix memory leak in String test


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

Branch: refs/heads/master
Commit: 3e654d21b6f86561f270e56b3031075cd0e7dfc0
Parents: 1345f69
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Tue May 5 11:19:45 2015 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Tue May 5 11:19:45 2015 +0200

----------------------------------------------------------------------
 runtime/core/Clownfish/Test/TestString.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/3e654d21/runtime/core/Clownfish/Test/TestString.c
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/Test/TestString.c b/runtime/core/Clownfish/Test/TestString.c
index 759a8e5..cbe0db2 100644
--- a/runtime/core/Clownfish/Test/TestString.c
+++ b/runtime/core/Clownfish/Test/TestString.c
@@ -439,6 +439,7 @@ test_Starts_Ends_With(TestBatchRunner *runner) {
 
     DECREF(prefix);
     DECREF(postfix);
+    DECREF(empty);
 }
 
 static void