mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-05 21:50:20 +00:00
8161923: Fix free in awt_PrintControl
Reviewed-by: vadim
This commit is contained in:
parent
e576ea3b90
commit
8ae9e47129
@ -1132,7 +1132,7 @@ BOOL AwtPrintControl::getDevmode( HANDLE hPrinter,
|
||||
|
||||
if (dwRet != IDOK) {
|
||||
/* if failure, cleanup and return failure */
|
||||
GlobalFree(pDevMode);
|
||||
GlobalFree(*pDevMode);
|
||||
*pDevMode = NULL;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user