From: Michael Wetherell Date: Fri, 27 Oct 2006 10:47:13 +0000 (+0000) Subject: Bug fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/34eeb223b428c2e9ec90d88348e7e62dfeb1cb65 Bug fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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