From 1ce3b53a6d0f905bef27b5842b5c76a0ec1ac90b Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sat, 20 Sep 2014 09:53:00 +0100 Subject: [PATCH] oops, double allocate thanks Lovell --- libvips/iofuncs/cache.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libvips/iofuncs/cache.c b/libvips/iofuncs/cache.c index fb615a04..858c5442 100644 --- a/libvips/iofuncs/cache.c +++ b/libvips/iofuncs/cache.c @@ -601,7 +601,6 @@ vips_cache_insert( VipsOperation *operation ) { VipsOperationCacheEntry *entry = g_new( VipsOperationCacheEntry, 1 ); - entry = g_new( VipsOperationCacheEntry, 1 ); entry->operation = operation; entry->time = 0; entry->invalidate_id = 0;