mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-14 03:05:22 +01:00
couple of memory leaks fixes.
This commit is contained in:
@@ -95,6 +95,7 @@ void AreaStore::deserialize(std::istream &is)
|
||||
is.read(data, data_len);
|
||||
a.data = std::string(data, data_len);
|
||||
insertArea(&a);
|
||||
delete [] data;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user