sane.ds: Fix a memory leak.

oldstable
Lei Zhang 2007-11-09 02:01:59 -08:00 committed by Alexandre Julliard
parent 84e8ea2fdc
commit 124f2aa27e
1 changed files with 1 additions and 0 deletions

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;