From d137050dbe63cf1dcc815d6ecb5dfd1d56624335 Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 9 Aug 2021 07:21:27 -0400 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36990 --- coders/dcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/dcm.c b/coders/dcm.c index 2978fdc713..95d3fd5169 100644 --- a/coders/dcm.c +++ b/coders/dcm.c @@ -3024,7 +3024,7 @@ static Image *ReadDCMImage(const ImageInfo *image_info,ExceptionInfo *exception) if (stream_info != (DCMStreamInfo *) NULL) \ stream_info=(DCMStreamInfo *) RelinquishMagickMemory(stream_info); \ if (stack != (LinkedListInfo *) NULL) \ - DestroyLinkedList(stack,RelinquishMagickMemory); \ + stack=DestroyLinkedList(stack,RelinquishMagickMemory); \ ThrowReaderException((exception),(message)); \ }