Commit 867180e4 authored by Evan Hunt's avatar Evan Hunt
Browse files

Merge branch '703-resource-leak-in-dlz_filesystem_driver-c' into 'master'

Resolve "resource leak in dlz_filesystem_driver.c"

Closes #703

See merge request isc-projects/bind9!1074
parents 39ebebaa 4979d5f3
Pipeline #6873 failed with stages
in 8 minutes and 30 seconds
...@@ -655,7 +655,8 @@ fs_allnodes(const char *zone, void *driverarg, void *dbdata, ...@@ -655,7 +655,8 @@ fs_allnodes(const char *zone, void *driverarg, void *dbdata,
ISC_LIST_INIT(*dir_list); ISC_LIST_INIT(*dir_list);
if (create_path(zone, NULL, NULL, cd, &basepath) != ISC_R_SUCCESS) { if (create_path(zone, NULL, NULL, cd, &basepath) != ISC_R_SUCCESS) {
return (ISC_R_NOTFOUND); result = ISC_R_NOTFOUND;
goto complete_allnds;
} }
/* remove path separator at end of path so stat works properly */ /* remove path separator at end of path so stat works properly */
......
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