diff --git a/modules/plugin/base/src/nsPluginHostImpl.cpp b/modules/plugin/base/src/nsPluginHostImpl.cpp index 1f511f2b66d4..35186c12410a 100644 --- a/modules/plugin/base/src/nsPluginHostImpl.cpp +++ b/modules/plugin/base/src/nsPluginHostImpl.cpp @@ -2138,7 +2138,7 @@ NS_IMETHODIMP nsPluginStreamListenerPeer::OnDataAvailable(nsIRequest *request, if (NS_FAILED(rv)) return rv; - if(!mPStreamListener) + if(!mPStreamListener || !mPluginStreamInfo) return NS_ERROR_FAILURE; char* urlString;