crypt32: Fix leak on error path.

Spotted by Chris Ahrendt.
This commit is contained in:
Juan Lang 2009-08-04 11:51:01 -07:00 committed by Alexandre Julliard
parent 100546686c
commit 90d7172bcb
1 changed files with 1 additions and 1 deletions

View File

@ -339,9 +339,9 @@ static BOOL import_certs_from_dir(LPCSTR path, HCERTSTORE store)
ret = TRUE; ret = TRUE;
} }
} }
closedir(dir);
CryptMemFree(filebuf); CryptMemFree(filebuf);
} }
closedir(dir);
} }
return ret; return ret;
#else #else