wrlib: Added clean-up of image cache in 'RShutdown'

The library maintains a cache of the images loaded, which is now
emptyed when the lib is asked to shutdown.
This commit is contained in:
David Maciejak authored and Carlos R. Mafra committed 2014-05-09 01:11:30 +01:00
1 parent 283286e0cd
commit e237ec15a0
3 files changed
+24

No files matched your search

+1
View File
@@ -251,4 +251,5 @@ void RShutdown(void)
#ifdef USE_MAGICK
RReleaseMagick();
#endif
RReleaseCache();
}