diff options
Diffstat (limited to 'src/utils/win/SkIStream.cpp')
-rw-r--r-- | src/utils/win/SkIStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/win/SkIStream.cpp b/src/utils/win/SkIStream.cpp index 2e9510cf95..dc9d1636d7 100644 --- a/src/utils/win/SkIStream.cpp +++ b/src/utils/win/SkIStream.cpp @@ -113,7 +113,7 @@ SkIStream::SkIStream(SkStream* stream, bool deleteOnRelease) } SkIStream::~SkIStream() { - if (this->fSkStream && fDeleteOnRelease) { + if (fDeleteOnRelease) { delete this->fSkStream; } } |