Added appropriate delete statements.
This commit is contained in:
@ -126,6 +126,7 @@ void DawnHost::unload(DawnGame *game) {
|
||||
}
|
||||
|
||||
DawnHost::~DawnHost() {
|
||||
delete this->data;
|
||||
DAWN_HOST = nullptr;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user