8180011: Cleaner native graphics device handling

Reviewed-by: serb, mschoene, rhalade
This commit is contained in:
Phil Race 2017-05-17 14:57:10 -07:00
parent fdb4198336
commit e9b19f1484

View File

@ -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;
}