8180011: Cleaner native graphics device handling
Reviewed-by: serb, mschoene, rhalade
This commit is contained in:
parent
fdb4198336
commit
e9b19f1484
@ -98,7 +98,7 @@ JNIEXPORT jstring JNICALL Java_sun_java2d_d3d_D3DGraphicsDevice_getDeviceIdNativ
|
||||
|
||||
jstring ret = JNU_NewStringPlatform(env, pAdapterId);
|
||||
|
||||
delete pAdapterId;
|
||||
delete[] pAdapterId;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user