diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2002-10-29 08:25:58 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2002-10-29 08:25:58 +0000 |
commit | 1bae67bbcfcf5c08a83b5eee20302f3d2b541a24 (patch) | |
tree | 1486bff0cf723b9df97dc4ac7d1492c6c4b49223 /stoc | |
parent | 5c051a85c24c713569e2bdaac4a32e8c410be0ea (diff) |
#104312# local ref leakage
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/javaloader/javaloader.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx index 333a6bcf6665..1e57c54fcf03 100644 --- a/stoc/source/javaloader/javaloader.cxx +++ b/stoc/source/javaloader/javaloader.cxx @@ -2,9 +2,9 @@ * * $RCSfile: javaloader.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: jl $ $Date: 2002-09-17 13:43:40 $ + * last change: $Author: dbo $ $Date: 2002-10-29 09:25:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -259,6 +259,7 @@ namespace stoc_javaloader { _javaLoader = Reference<XImplementationLoader>(reinterpret_cast<XImplementationLoader *>( java_curr.mapInterface(joJavaLoader, pType_XImplementationLoader))); + pJNIEnv->DeleteLocalRef( joJavaLoader ); if(!_javaLoader.is()) throw RuntimeException(OUString(RTL_CONSTASCII_USTRINGPARAM( "javaloader error - mapping of java XImplementationLoader to c++ failed")), Reference<XInterface>()); |