summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorathomas <[email protected]>2003-12-09 06:53:59 +0000
committerathomas <[email protected]>2003-12-09 06:53:59 +0000
commitb1c3c4425423c236f3dc51e76b5474c0b1bcf46a (patch)
tree52269ce0df42111de10ecb400cf46d50b07ccb93
parent55dc714ec314cce4ee8e337d8d5f949af8c9bafe (diff)
slight change based on web search of error we're seeing.
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@83 03bf7f67-59de-4072-a415-9a990d468a3f
-rw-r--r--src/native/alcbind.c4
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;
}