Skip to content
Snippets Groups Projects
Commit bb8d23d5 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard
Browse files

prntvpt: Fix a null check (Coverity).

parent 333a867f
No related branches found
No related tags found
No related merge requests found
......@@ -740,7 +740,7 @@ HRESULT WINAPI PTConvertPrintTicketToDevMode(HPTPROVIDER provider, IStream *stre
if (hr != S_OK) return hr;
*dm = heap_alloc(sizeof(**dm));
if (!dm) return E_OUTOFMEMORY;
if (!*dm) return E_OUTOFMEMORY;
ticket_to_devmode(&ticket, *dm);
*size = sizeof(**dm);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment