-fix
authorSree Harsha Totakura <totakura@in.tum.de>
Fri, 1 Feb 2013 15:10:38 +0000 (15:10 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Fri, 1 Feb 2013 15:10:38 +0000 (15:10 +0000)
src/testbed/gnunet-service-testbed_cache.c

index 72754121f467269a3b00cd1b467c5e9709640238..9e65db9e8c51c0dd48b4b0f6fe36fa2006df1b23 100644 (file)
@@ -319,6 +319,7 @@ close_handles (struct CacheEntry *entry)
     GNUNET_assert (0 < lru_cache_size);
     GNUNET_CONTAINER_DLL_remove (lru_cache_head, lru_cache_tail, entry);
     lru_cache_size--;
+    entry->in_lru = GNUNET_NO;
   }
   while (NULL != (ctxt = entry->nctxt_qhead))
   {