diff options
author | Yoann Lopes <yoann.lopes@qt.io> | 2016-10-21 16:13:14 +0300 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2016-10-21 13:24:24 +0000 |
commit | c6462eed99827154823e8e9ee07b8cf9311b518d (patch) | |
tree | e7f8ed590d331ccd551d660f9f01beca0c46986c | |
parent | ae995b68ce19f7434269802e5eb9333d75049987 (diff) |
WMF: fix incorrect pointer dereference
Task-number: QTBUG-56134
Change-Id: I9c8799a96ff08f2657e4879dfbe14de3bfe3d25f
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
-rw-r--r-- | src/plugins/wmf/mfstream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/wmf/mfstream.cpp b/src/plugins/wmf/mfstream.cpp index 170c816e5..7d3556b09 100644 --- a/src/plugins/wmf/mfstream.cpp +++ b/src/plugins/wmf/mfstream.cpp @@ -230,7 +230,7 @@ STDMETHODIMP MFStream::Seek( break; } bool seekOK = m_stream->seek(pos); - if (*pqwCurrentPosition) + if (pqwCurrentPosition) *pqwCurrentPosition = pos; if (seekOK) return S_OK; |