mirror of
https://github.com/glest/glest-source.git
synced 2025-09-25 23:19:07 +02:00
- fixed more memory leaks found in texture readers
This commit is contained in:
@@ -53,9 +53,7 @@ static const int tgaUncompressedBw= 3;
|
||||
|
||||
/**Get Extension array, initialised*/
|
||||
static inline const string* getExtensionStrings() {
|
||||
static string * extensions = new string[2];
|
||||
extensions[0] = "tga";
|
||||
extensions[1] = "";
|
||||
static const string extensions[] = {"tga", ""};
|
||||
return extensions;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user