X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8aa3cd14b57820dc30ed2034e35e39623ac45c95..855f31ebe72bef834a32df2c274b41fb282ad265:/src/common/fs_filter.cpp diff --git a/src/common/fs_filter.cpp b/src/common/fs_filter.cpp index 4a96eed7f1..d9c5f51cc3 100644 --- a/src/common/fs_filter.cpp +++ b/src/common/fs_filter.cpp @@ -56,7 +56,7 @@ wxFSFile* wxFilterFSHandler::OpenFile( if (!leftStream.get() || !leftStream->IsOk()) return NULL; - wxInputStreamPtr stream(factory->NewStream(leftStream.get())); + wxInputStreamPtr stream(factory->NewStream(leftStream.release())); // The way compressed streams are supposed to be served is e.g.: // Content-type: application/postscript