Avoid calling globfree twice on failure.

This commit is contained in:
Tobias Brunner 2010-11-11 12:52:48 +01:00
parent 375dacca8e
commit 413d8fe0e3
1 changed files with 0 additions and 1 deletions

View File

@ -1234,7 +1234,6 @@ static void load_secrets(private_stroke_cred_t *this, char *file, int level,
if (glob(pattern, GLOB_ERR, NULL, &buf) != 0)
{
DBG1(DBG_CFG, "expanding file expression '%s' failed", pattern);
globfree(&buf);
}
else
{