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

Resolve "resource leak in dlz_filesystem_driver.c"

See merge request isc-projects/bind9!1090
This commit is contained in:
Evan Hunt 2018-11-16 20:00:17 -05:00
commit e0824ab0d0

View file

@ -654,7 +654,8 @@ fs_allnodes(const char *zone, void *driverarg, void *dbdata,
ISC_LIST_INIT(*dir_list);
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 */