diff options
author | Carl Worth <cworth@cworth.org> | 2004-11-23 13:38:09 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2004-11-23 13:38:09 +0000 |
commit | 5c143241df52440ac9e1f9a7aa7b130bae622c5e (patch) | |
tree | d6c9ac6150f8143754b93ab29b6de4f56d2f169a /src/cairo-hash.c | |
parent | 7478ea5051306cf38ed29d9c9faa4c0263f413b8 (diff) |
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-hash.c')
-rw-r--r-- | src/cairo-hash.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cairo-hash.c b/src/cairo-hash.c index fffd888a..48848162 100644 --- a/src/cairo-hash.c +++ b/src/cairo-hash.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); } |