1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

couple of memory leaks fixes.

This commit is contained in:
David Carlier
2016-07-28 08:56:22 +01:00
committed by Loic Blot
parent 1be3894e6f
commit 48b3bb980d
5 changed files with 23 additions and 3 deletions

View File

@@ -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;
}
}