< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_PrintControl.cpp

Print this page
rev 15133 : 8161923: Fix two memory issues.
Reviewed-by: vadim

*** 1130,1140 **** RESTORE_CONTROLWORD if (dwRet != IDOK) { /* if failure, cleanup and return failure */ ! GlobalFree(pDevMode); *pDevMode = NULL; return FALSE; } return TRUE; --- 1130,1140 ---- RESTORE_CONTROLWORD if (dwRet != IDOK) { /* if failure, cleanup and return failure */ ! GlobalFree(*pDevMode); *pDevMode = NULL; return FALSE; } return TRUE;
< prev index next >