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 2013/02/03 21:00:46 UTC
[lucy-commits] [1/3] git commit: refs/heads/cfc-tests - Fix double free
Fix double free
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/93f0c4ec
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/93f0c4ec
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/93f0c4ec
Branch: refs/heads/cfc-tests
Commit: 93f0c4ec2f7339edeea25a7236a26891072737cc
Parents: 6ff8c60
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sun Feb 3 20:33:05 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sun Feb 3 20:33:05 2013 +0100
----------------------------------------------------------------------
clownfish/compiler/src/CFCTestClass.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/93f0c4ec/clownfish/compiler/src/CFCTestClass.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCTestClass.c b/clownfish/compiler/src/CFCTestClass.c
index f2c4fac..f3f3f96 100644
--- a/clownfish/compiler/src/CFCTestClass.c
+++ b/clownfish/compiler/src/CFCTestClass.c
@@ -86,7 +86,6 @@ S_run_tests(CFCTest *test) {
{
CFCClass *should_be_foo = CFCClass_fetch_singleton(neato, "Foo");
OK(test, should_be_foo == foo, "fetch_singleton");
- CFCBase_decref((CFCBase*)should_be_foo);
}
CFCClass *foo_jr