Code: Select all
ResourceProvider::unloadRawDataContainer(RawDataContainer& data)
This virtual function defaults to doing nothing, however it can free the memory itself and then set the data ptr to null. This means the app can do what it wants and cegui won't free the memory.
This patch is actually ok I think.