Commit 124f2aa2 authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

sane.ds: Fix a memory leak.

parent 84e8ea2f
......@@ -597,6 +597,7 @@ BOOL DoScannerUI(void)
HeapFree(GetProcessHeap(),0,(LPBYTE)psp[index].u.pResource);
HeapFree(GetProcessHeap(),0,(LPBYTE)psp[index].pszTitle);
}
HeapFree(GetProcessHeap(),0,szCaption);
if (psrc == IDOK)
return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment