summaryrefslogtreecommitdiff
path: root/src/cairo-cache.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2004-11-23 13:38:09 +0000
committerCarl Worth <cworth@cworth.org>2004-11-23 13:38:09 +0000
commit5c143241df52440ac9e1f9a7aa7b130bae622c5e (patch)
treed6c9ac6150f8143754b93ab29b6de4f56d2f169a /src/cairo-cache.c
parent7478ea5051306cf38ed29d9c9faa4c0263f413b8 (diff)
downloadcairo-5c143241df52440ac9e1f9a7aa7b130bae622c5e.tar.gz
Note that text_cache_crash is expected to fail.
Add test to demonstrate bug when item is too big for cache. Really remove that refcount assertion this time.
Diffstat (limited to 'src/cairo-cache.c')
-rw-r--r--src/cairo-cache.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cairo-cache.c b/src/cairo-cache.c
index fffd888ab..48848162d 100644
--- a/src/cairo-cache.c
+++ b/src/cairo-cache.c
@@ -121,9 +121,6 @@ _cache_sane_state (cairo_cache_t *cache)
assert (cache->entries != NULL);
assert (cache->backend != NULL);
assert (cache->arrangement != NULL);
-/* XXX: This check is broken during destroy
- assert (cache->refcount > 0);
-*/
assert (cache->used_memory <= cache->max_memory);
assert (cache->live_entries <= cache->arrangement->size);
}