From c5db264e0a98234d32553ec1b43e612e0da1eeb3 Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Wed, 4 Dec 2013 16:31:49 +0900 Subject: [PATCH] eina: more work around to limit problem. --- src/lib/eina/eina_cow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eina/eina_cow.c b/src/lib/eina/eina_cow.c index 2dd8807..8600475 100644 --- a/src/lib/eina/eina_cow.c +++ b/src/lib/eina/eina_cow.c @@ -265,7 +265,7 @@ _eina_cow_gc(Eina_Cow *cow, Eina_Cow_GC *gc) THIS IS A TEMPORARY WORK AROUND THAT SHOULD LIMIT PROBLEM UNTIL WE KNOW WHY THERE IS A PROBLEM IN EINA_HASH. */ - if (gc->ref->refcount == 0) + if (gc->ref->refcount == 0 || !gc->ref->togc) { eina_hash_del(cow->togc, &gc->ref, gc); return ; -- 2.7.4