diff options
-rw-r--r-- | extensions/source/plugin/unx/npnapi.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx index bfc6fa16cdab..90b82bcad108 100644 --- a/extensions/source/plugin/unx/npnapi.cxx +++ b/extensions/source/plugin/unx/npnapi.cxx @@ -288,7 +288,10 @@ static NPError l_NPN_RequestRead( NPStream* stream, NPByteRange* rangeList ) NULL ); if( ! pMes ) + { + delete[] pArray; return NPERR_GENERIC_ERROR; + } NPError aRet = pConnector->GetNPError( pMes ); delete [] pArray; |