mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 03:31:40 +00:00
Cleanup.
svn-id: r50928
This commit is contained in:
parent
ae1afee564
commit
bde1cbd785
@ -100,10 +100,8 @@ void WagProperty::setDefaults() {
|
||||
}
|
||||
|
||||
void WagProperty::deleteData() {
|
||||
if (_propData != NULL) {
|
||||
delete _propData;
|
||||
_propData = NULL;
|
||||
}
|
||||
delete _propData;
|
||||
_propData = NULL;
|
||||
}
|
||||
|
||||
WagFileParser::WagFileParser() :
|
||||
|
@ -76,10 +76,8 @@ int AgiEngine::loadWords(const char *fname) {
|
||||
}
|
||||
|
||||
void AgiEngine::unloadWords() {
|
||||
if (words != NULL) {
|
||||
free(words);
|
||||
words = NULL;
|
||||
}
|
||||
free(words);
|
||||
words = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user