Commit 7b0bce056 for imagemagick.org

commit 7b0bce05621c29e32726b547c6273150ea8c501e
Author: Dirk Lemstra <dirk@lemstra.org>
Date:   Thu Dec 25 14:50:20 2025 +0100

    Removed specific methods for Windows with memory allocation.

diff --git a/MagickCore/memory.c b/MagickCore/memory.c
index 7e33f52d7..41e84be83 100644
--- a/MagickCore/memory.c
+++ b/MagickCore/memory.c
@@ -202,35 +202,12 @@ static size_t
   max_profile_size = 0,
   virtual_anonymous_memory = 0;

-#if defined _MSC_VER
-static void *MSCMalloc(size_t size)
-{
-  return(malloc(size));
-}
-
-static void *MSCRealloc(void* ptr, size_t size)
-{
-  return(realloc(ptr,size));
-}
-
-static void MSCFree(void* ptr)
-{
-  free(ptr);
-}
-#endif
-
 static MagickMemoryMethods
   memory_methods =
   {
-#if defined _MSC_VER
-    (AcquireMemoryHandler) MSCMalloc,
-    (ResizeMemoryHandler) MSCRealloc,
-    (DestroyMemoryHandler) MSCFree,
-#else
     (AcquireMemoryHandler) malloc,
     (ResizeMemoryHandler) realloc,
     (DestroyMemoryHandler) free,
-#endif
     (AcquireAlignedMemoryHandler) NULL,
     (RelinquishAlignedMemoryHandler) NULL
   };