diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-10 16:47:16 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-07-13 21:38:07 +0200 |
commit | edebc88629bea1bcfc64705c196ac7f8aa658d31 (patch) | |
tree | df983a2b3b5b3f77c00600757dd2d12d26e21d18 /include | |
parent | 6408f4c3b0b3c17057c82b47a84f3ef03a3c978a (diff) |
Manage JavaInfo instances via new/delete
Change-Id: I10a113718e525b646c51aa8a19f9f2b75a36714a
(cherry picked from commit 81dd7115e8da9a365a2d26e225f6ec4d2d8ccb5f)
Diffstat (limited to 'include')
-rw-r--r-- | include/jvmfwk/framework.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/jvmfwk/framework.hxx b/include/jvmfwk/framework.hxx index 303336e03c67..351da3cbecb2 100644 --- a/include/jvmfwk/framework.hxx +++ b/include/jvmfwk/framework.hxx @@ -206,10 +206,8 @@ typedef enum _javaFrameworkError <p> Instances of this struct are created by the plug-in libraries which are used by - this framework (jvmfwk/vendorplugin.h). The memory of the instances is created - by <code>rtl_allocateMemory</code> (rtl/alloc.h). Therefore, the memory must - be freed by <code>rtl_freeMemory</code>. Also the contained members must be - freed particularly. + this framework (jvmfwk/vendorplugin.h). The contained members must be + freed individually. For convenience this API provides the function <code>jfw_freeJavaInfo</code> which frees the objects properly. </p> */ |