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:
committed by
Carlos R. Mafra
parent
e237ec15a0
commit
1b2e8a6491
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user