Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix Java_org_simgrid_msg_File_open one more time
authorPierre Veyre <pierre.veyre@cc.in2p3.fr>
Wed, 19 Mar 2014 15:31:19 +0000 (16:31 +0100)
committerPierre Veyre <pierre.veyre@cc.in2p3.fr>
Wed, 19 Mar 2014 15:31:19 +0000 (16:31 +0100)
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);
 
-  (*env)->ReleaseStringUTFChars(env, jstorage, storage);
   (*env)->ReleaseStringUTFChars(env, jpath, path);
 }
 JNIEXPORT jlong JNICALL