From: cristy Date: Tue, 28 Sep 2010 18:35:53 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8785 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f77fa46baa4960aac7bc4dc08cf54a1a7067ba64;p=imagemagick --- diff --git a/magick/resource.c b/magick/resource.c index e2c1c0a49..abcc5e1bc 100644 --- a/magick/resource.c +++ b/magick/resource.c @@ -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); }