]> git.saurik.com Git - wxWidgets.git/commitdiff
Bug fix.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Fri, 27 Oct 2006 10:47:13 +0000 (10:47 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Fri, 27 Oct 2006 10:47:13 +0000 (10:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fs_filter.cpp

index 4a96eed7f131b53c0e75314e65a82b6e9e1e66d6..d9c5f51cc33b65e7bc335ded7f79b2cfe7c1e8af 100644 (file)
@@ -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