You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/02/13 23:32:09 UTC

svn commit: r1568072 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

Author: stefan2
Date: Thu Feb 13 22:32:08 2014
New Revision: 1568072

URL: http://svn.apache.org/r1568072
Log:
Follow-up to 1568009: Re-add a line that was removed accidentally.

* subversion/libsvn_subr/cache-membuffer.c
  (drop_entry): We still need to track cache memory usage.

Modified:
    subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

Modified: subversion/trunk/subversion/libsvn_subr/cache-membuffer.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/cache-membuffer.c?rev=1568072&r1=1568071&r2=1568072&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/cache-membuffer.c (original)
+++ subversion/trunk/subversion/libsvn_subr/cache-membuffer.c Thu Feb 13 22:32:08 2014
@@ -975,6 +975,7 @@ drop_entry(svn_membuffer_t *cache, entry
    */
   cache->used_entries--;
   cache->hit_count -= entry->hit_count;
+  cache->data_used -= entry->size;
 
   /* extend the insertion window, if the entry happens to border it
    */