From 45d2fccb5560e7ba142f6cf7fb4ec1a08023f96b Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 27 Oct 2013 23:46:25 +0000 Subject: [PATCH 1/1] --- MagickCore/memory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MagickCore/memory.c b/MagickCore/memory.c index 8a7704fb4..3da116035 100644 --- a/MagickCore/memory.c +++ b/MagickCore/memory.c @@ -615,6 +615,8 @@ MagickExport MemoryInfo *AcquireVirtualMemory(const size_t count, if (memory_info->blob != NULL) memory_info->type=UnalignedVirtualMemory; } + if (memory_info->blob == NULL) + memory_info=RelinquishVirtualMemory(memory_info); return(memory_info); } -- 2.40.0