fix potential memory leak
This commit is contained in:
parent
6830205bcc
commit
667a90b724
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user