From 3a15c5bbb3ef0a49616b15cf7ba601eaa53c3034 Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Wed, 4 Dec 2013 17:53:34 +0900 Subject: [PATCH] Revert "eina: work around current strange behavior seen in eina_cow." This reverts commit e4107b2936e2a11e5966bbdc591f110156191af0. --- src/lib/eina/eina_cow.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/lib/eina/eina_cow.c b/src/lib/eina/eina_cow.c index 2dd8807..73a65e5 100644 --- a/src/lib/eina/eina_cow.c +++ b/src/lib/eina/eina_cow.c @@ -261,16 +261,6 @@ _eina_cow_gc(Eina_Cow *cow, Eina_Cow_GC *gc) data = EINA_COW_DATA_GET(gc->ref); - /* - 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) - { - eina_hash_del(cow->togc, &gc->ref, gc); - return ; - } - current_cow_size = cow->struct_size; match = eina_hash_find(cow->match, data); if (match) -- 2.7.4