diff options
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r-- | engines/parallaction/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 1b2168e8ee..775035e78a 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -926,7 +926,7 @@ void Graphics::freeCnv(Cnv *cnv) { for (uint16 _si = 0; _si < cnv->_count; _si++) { free(cnv->_array[_si]); } - free(cnv->_array); + if (cnv->_array) free(cnv->_array); cnv->_array = NULL; return; |