sane.ds: Fix a memory leak.

This commit is contained in:
Lei Zhang 2007-11-09 02:01:59 -08:00 committed by Alexandre Julliard
parent 84e8ea2fdc
commit 124f2aa27e

View file

@ -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;