Commit c341e524 authored by Mark Andrews's avatar Mark Andrews
Browse files

address resource leak [RT #46413]

parent 63270d33
......@@ -7487,7 +7487,8 @@ deserialize32(void *arg, FILE *f, off_t offset) {
header = (rbtdb_file_header_t *)(base + offset);
if (!match_header_version(header)) {
return (ISC_R_FAILURE);
result = ISC_R_INVALIDFILE;
goto cleanup;
}
if (header->tree != 0) {
......
Supports Markdown
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