cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3a15c5bbb3ef0a49616b15cf7ba601eaa53c3034

commit 3a15c5bbb3ef0a49616b15cf7ba601eaa53c3034
Author: Cedric Bail <cedric.b...@samsung.com>
Date:   Wed Dec 4 17:53:34 2013 +0900

    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)

-- 


Reply via email to