diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-10 19:21:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-10 21:42:31 +0100 |
commit | 8e9a7cac42d554402a6ead3a83ae8b7defc9247b (patch) | |
tree | 9905516c3e7ca3cc6de020e8cc36d84adb650a29 /jvmfwk/inc | |
parent | 8546831b3b36e29c1ee42b790cbecd3fd8d8bbaf (diff) |
No more need for jfw_freeJavaInfo
Change-Id: I2426a76936b4099a243ce8c102da867e7868aac3
Diffstat (limited to 'jvmfwk/inc')
-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. |