1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

wrlib: Added clean-up of library internals in 'RShutdown'

The library uses internally a cache of tables to convert image to different
depths, there is now an internal function 'r_destroy_conversion_tables' to
free them.
This commit is contained in:
David Maciejak
2014-05-08 23:57:03 +02:00
committed by Carlos R. Mafra
parent e237ec15a0
commit 1b2e8a6491
4 changed files with 76 additions and 0 deletions

View File

@@ -27,6 +27,7 @@
#include "wraster.h"
#include "imgformat.h"
#include "convert.h"
void RBevelImage(RImage * image, int bevel_type)
@@ -252,4 +253,5 @@ void RShutdown(void)
RReleaseMagick();
#endif
RReleaseCache();
r_destroy_conversion_tables();
}