argh revert that

seem to all work now, but buffer.c is getting ugly ... revise for 8.5
This commit is contained in:
John Cupitt 2016-10-12 16:40:06 +01:00
parent cf98b92dbf
commit 105c396de5
1 changed files with 3 additions and 1 deletions

View File

@ -480,8 +480,10 @@ vips_buffer_unref( VipsBuffer *buffer )
/* We are not always the creating thread, for example if we
* come here during vips_region_dispose(). cache may have been
* NULLed out during thread exit.
*/
VipsBufferCache *cache = buffer->cache;
*/
VipsBufferCache *cache = buffer_cache_get( buffer->im );
#ifdef DEBUG_VERBOSE
if( !buffer->done )