diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-10 16:47:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-10 21:41:23 +0100 |
commit | 81dd7115e8da9a365a2d26e225f6ec4d2d8ccb5f (patch) | |
tree | 57478c3ad729c211811fdcd27c957d7fca9da944 /include/jvmfwk | |
parent | 624f9696a9d18480f04cca85c174099dbb8dbee5 (diff) |
Manage JavaInfo instances via new/delete
Change-Id: I10a113718e525b646c51aa8a19f9f2b75a36714a
Diffstat (limited to 'include/jvmfwk')
-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 f55676c60925..6ee43200d983 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> */ |