fix potential memory leak
This commit is contained in:
@@ -62,6 +62,7 @@ Content::Content(ContentIndices* indices, DrawGroups* drawGroups,
|
|||||||
|
|
||||||
Content::~Content() {
|
Content::~Content() {
|
||||||
delete indices;
|
delete indices;
|
||||||
|
delete drawGroups;
|
||||||
}
|
}
|
||||||
|
|
||||||
Block* Content::findBlock(string id) const {
|
Block* Content::findBlock(string id) const {
|
||||||
|
|||||||
Reference in New Issue
Block a user