[PATCH] inetcpl.cpl: If memory allocation fails,the program will carsh.
Alexandre Julliard
julliard at winehq.org
Thu Dec 17 13:51:25 CST 2020
"Haidong Yu" <yhd986 at 163.com> writes:
> @@ -301,10 +301,10 @@ static INT_PTR security_on_initdialog(HWND hsec)
> DWORD i;
>
> sd = heap_alloc_zero(sizeof(secdlg_data));
> - SetWindowLongPtrW(hsec, DWLP_USER, (LONG_PTR) sd);
> if (!sd) {
> return FALSE;
> }
> + SetWindowLongPtrW(hsec, DWLP_USER, (LONG_PTR) sd);
This won't make any difference.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list