wrlib: moved 'RShutdown' from 'load.c' to 'misc.c' for consistency

The cleanup function is actually not specific to loading images and could
do a lot more, so it is probably better placed in 'misc.c'
This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2014-05-08 20:14:22 +01:00
1 parent 8e0ec489a8
commit ebe7673bf6
4 files changed
+19 -7

No files matched your search

-7
View File
@@ -103,13 +103,6 @@ char **RSupportedFileFormats(void)
return tmp;
}
/* cleaning third-party libs at shutdown */
void RShutdown() {
#ifdef USE_MAGICK
MagickWandTerminus();
#endif
}
static void init_cache(void)
{
char *tmp;