summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stoc/source/javaloader/javaloader.cxx5
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>());