Skip to content

Commit

Permalink
WAGE: Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Feb 14, 2016
1 parent 8e8145e commit 33b8a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/wage/design.cpp
Expand Up @@ -74,7 +74,7 @@ Design::Design(Common::SeekableReadStream *data) {

Design::~Design() {
free(_data);
if (_surface && _surface->getPixels())
if (_surface)
_surface->free();
delete _surface;
}
Expand Down

0 comments on commit 33b8a26

Please sign in to comment.