Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leaks #13

Open
GoogleCodeExporter opened this issue Oct 10, 2015 · 0 comments
Open

Memory leaks #13

GoogleCodeExporter opened this issue Oct 10, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

In java-Graphics3D.cpp e.g. here, objects are not released like another places 
(deleteUsedObjects()).

/*
 * Class:     org_karlsland_m3g_Graphics3D
 * Method:    jni_render
 * Signature: (Lorg/karlsland/m3g/World;)V
 */
JNIEXPORT void JNICALL 
Java_org_karlsland_m3g_Graphics3D_jni_1render__Lorg_karlsland_m3g_World_2
  (JNIEnv* env, jobject thiz, jobject world)
{
    //cout << "Java-Graphics3D: render4(world) is called.\n";
    Graphics3D* g3d = (Graphics3D*)getNativePointer (env, thiz);
    World*      wld = (World*)     getNativePointer (env, world);
    __TRY__;
    g3d->render (wld);
    __CATCH__;
}

Original issue reported on code.google.com by marbed...@gmail.com on 8 Feb 2012 at 12:08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant