diff options
Diffstat (limited to 'jvmfwk/inc/vendorplugin.hxx')
-rw-r--r-- | jvmfwk/inc/vendorplugin.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/jvmfwk/inc/vendorplugin.hxx b/jvmfwk/inc/vendorplugin.hxx index a108cb3c5b4a..0bd5988301d6 100644 --- a/jvmfwk/inc/vendorplugin.hxx +++ b/jvmfwk/inc/vendorplugin.hxx @@ -73,8 +73,8 @@ typedef enum version should be the first in the array. </p> <p> The function allocates memory for an array and all the JavaInfo objects returned - in <code>parJavaInfo</code>. The caller must free each JavaInfo object by calling - <code>jfw_freeJavaInfo</code> (#include "jvmfwk/framework.hxx"). The array is to be + in <code>parJavaInfo</code>. The caller must delete each JavaInfo object. + The array is to be freed by rtl_freeMemory. In case an error occurred <code>parJavaInfo</code> need not be freed. </p> @@ -217,8 +217,7 @@ javaPluginError jfw_plugin_getJavaInfoFromJavaHome( is also the first element in the vector.</p> <p> The function allocates memory for all the JavaInfo objects returned - in <code>vecJavaInfosFromPath</code>. The caller must free each JavaInfo object by calling - <code>jfw_freeJavaInfo</code> (#include "jvmfwk/framework.hxx"). + in <code>vecJavaInfosFromPath</code>. The caller must delete each JavaInfo object. </p> @param vecVendorInfos [in] vector specifying the vendor and version requirements that the JRE must fulfill. |