diff options
Diffstat (limited to 'src/native')
-rw-r--r-- | src/native/alcbind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/native/alcbind.c b/src/native/alcbind.c index 0917599..af5b2af 100644 --- a/src/native/alcbind.c +++ b/src/native/alcbind.c @@ -83,7 +83,7 @@ JNIEXPORT jobject JNICALL Java_net_java_games_joal_ALCImpl_openDeviceNative /* if error - cleanup and get out */ if(device == NULL) { if(tokenstring != NULL) { - (*env)->ReleaseStringUTFChars(env, deviceName, tokenstring); + // (*env)->ReleaseStringUTFChars(env, deviceName, tokenstring); } return NULL; } @@ -102,7 +102,7 @@ JNIEXPORT jobject JNICALL Java_net_java_games_joal_ALCImpl_openDeviceNative /* clean up */ if (tokenstring != NULL) - (*env)->ReleaseStringUTFChars(env, deviceName, tokenstring); + // (*env)->ReleaseStringUTFChars(env, deviceName, tokenstring); return alcDevice_object; } |