sane.ds: Fix a memory leak.
This commit is contained in:
parent
84e8ea2fdc
commit
124f2aa27e
|
@ -597,6 +597,7 @@ BOOL DoScannerUI(void)
|
||||||
HeapFree(GetProcessHeap(),0,(LPBYTE)psp[index].u.pResource);
|
HeapFree(GetProcessHeap(),0,(LPBYTE)psp[index].u.pResource);
|
||||||
HeapFree(GetProcessHeap(),0,(LPBYTE)psp[index].pszTitle);
|
HeapFree(GetProcessHeap(),0,(LPBYTE)psp[index].pszTitle);
|
||||||
}
|
}
|
||||||
|
HeapFree(GetProcessHeap(),0,szCaption);
|
||||||
|
|
||||||
if (psrc == IDOK)
|
if (psrc == IDOK)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue