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
2014-05-09 01:11:30 +01:00
committed by Carlos R. Mafra
parent 283286e0cd
commit e237ec15a0
3 changed files with 24 additions and 0 deletions
+1
View File
@@ -251,4 +251,5 @@ void RShutdown(void)
#ifdef USE_MAGICK
RReleaseMagick();
#endif
RReleaseCache();
}