Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix Java_org_simgrid_msg_File_open one more time
[simgrid.git] / src / bindings / java / jmsg_file.c
index c255f87..1210a74 100644 (file)
@@ -33,7 +33,6 @@ Java_org_simgrid_msg_File_open(JNIEnv *env, jobject jfile, jobject jpath) {
   file = MSG_file_open(path, NULL);
   jfile_bind(env, jfile, file);
 
   file = MSG_file_open(path, NULL);
   jfile_bind(env, jfile, file);
 
-  (*env)->ReleaseStringUTFChars(env, jstorage, storage);
   (*env)->ReleaseStringUTFChars(env, jpath, path);
 }
 JNIEXPORT jlong JNICALL
   (*env)->ReleaseStringUTFChars(env, jpath, path);
 }
 JNIEXPORT jlong JNICALL