Commit 4979d5f3 authored by Mark Andrews's avatar Mark Andrews Committed by Evan Hunt
Browse files

cleanup allocated memory on error

parent 39ebebaa
Pipeline #6871 passed with stages
in 12 minutes and 56 seconds
......@@ -655,7 +655,8 @@ fs_allnodes(const char *zone, void *driverarg, void *dbdata,
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 */
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