Commit 7372fe4d authored by FaramosCZ's avatar FaramosCZ Committed by Marko Mäkelä

xb_process_datadir(): Fix resource leaks

Closes #983, #984
parent 1d56d875
......@@ -5266,6 +5266,7 @@ xb_process_datadir(
path, NULL,
fileinfo.name, data))
{
os_file_closedir(dbdir);
return(FALSE);
}
}
......@@ -5326,6 +5327,7 @@ xb_process_datadir(
dbinfo.name,
fileinfo.name, data))
{
os_file_closedir(dbdir);
return(FALSE);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment