From 88b90bdc07c4bfffa5dd17cba512eb5a87719c3e Mon Sep 17 00:00:00 2001 From: DRC Date: Thu, 21 Aug 2014 22:16:25 +0000 Subject: [PATCH] Oops git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1370 632fc199-4ca6-4c93-a231-07263d6284db --- jdatadst-tj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdatadst-tj.c b/jdatadst-tj.c index a0e0f2e..1f6f3a5 100644 --- a/jdatadst-tj.c +++ b/jdatadst-tj.c @@ -172,7 +172,7 @@ jpeg_mem_dest_tj (j_compress_ptr cinfo, dest->pub.init_destination = init_mem_destination; dest->pub.empty_output_buffer = empty_mem_output_buffer; dest->pub.term_destination = term_mem_destination; - if (dest->buffer == *outbuffer && *outbuffer != NULL && alloc) { + if (dest->buffer == *outbuffer && *outbuffer != NULL && alloc) reused = TRUE; dest->outbuffer = outbuffer; dest->outsize = outsize; -- 2.40.0