]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 28 Sep 2010 18:35:53 +0000 (18:35 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 28 Sep 2010 18:35:53 +0000 (18:35 +0000)
magick/resource.c

index e2c1c0a4945797b2a71f52ca2ed0d8c36bc683cf..abcc5e1bc230d91995621eee292bde2bdc0ce494 100644 (file)
@@ -475,10 +475,10 @@ MagickExport int AcquireUniqueFileResource(char *path)
   LockSemaphoreInfo(resource_semaphore);
   if (temporary_resources == (SplayTreeInfo *) NULL)
     temporary_resources=NewSplayTree(CompareSplayTreeString,
-      RelinquishMagickMemory,DestroyTemporaryResources);
+      DestroyTemporaryResources,(void *(*)(void *)) NULL);
   UnlockSemaphoreInfo(resource_semaphore);
   (void) AddValueToSplayTree(temporary_resources,ConstantString(path),
-    ConstantString(path));
+    (const void *) NULL);
   return(file);
 }
 \f