Commit af7cecf5 by Celine Mercier

Fixed a bug where a directory was not closed properly resulting in errno

24 sometimes
parent 5f20be44
......@@ -1995,6 +1995,14 @@ OBIDMS_column_header_p obi_column_get_header_from_name(OBIDMS_p dms, const char*
return NULL;
}
// Close column directory
if (obi_close_column_directory(column_directory) < 0)
{
obi_set_errno(OBICOL_UNKNOWN_ERROR);
obidebug(1, "\nError closing a column directory when reading a column header");
return NULL;
}
return header;
}
......
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