On 2/7/19 11:43 PM, Peng Yu wrote: > Hi, > > I don't understand the purpose of wdcache and wlcache. The "nc" field > seems to be always 0 (as initialized in ocache_create(), and I don't > find where it is increased. But `ocache_alloc()` just call xmalloc > without using the cache since nc is 0. So wdcache and wlcache seem to > be useless. > > Do I miss something?
Yes: ocache_free. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/