summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_cow.c
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-12-04 16:31:49 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-12-04 16:31:49 +0900
commitc5db264e0a98234d32553ec1b43e612e0da1eeb3 (patch)
tree005f16ffbffd2d097c4e2a315ba750e8ac52b3b4 /src/lib/eina/eina_cow.c
parente4107b2936e2a11e5966bbdc591f110156191af0 (diff)
eina: more work around to limit problem.
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_cow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_cow.c b/src/lib/eina/eina_cow.c
index 2dd8807310..8600475321 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)
265 THIS IS A TEMPORARY WORK AROUND THAT SHOULD LIMIT PROBLEM 265 THIS IS A TEMPORARY WORK AROUND THAT SHOULD LIMIT PROBLEM
266 UNTIL WE KNOW WHY THERE IS A PROBLEM IN EINA_HASH. 266 UNTIL WE KNOW WHY THERE IS A PROBLEM IN EINA_HASH.
267 */ 267 */
268 if (gc->ref->refcount == 0) 268 if (gc->ref->refcount == 0 || !gc->ref->togc)
269 { 269 {
270 eina_hash_del(cow->togc, &gc->ref, gc); 270 eina_hash_del(cow->togc, &gc->ref, gc);
271 return ; 271 return ;