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

cleanup allocated memory on error

(cherry picked from commit 4979d5f3)
parent 799708f5
Pipeline #6876 passed with stages
in 8 minutes and 5 seconds
......@@ -654,7 +654,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