Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
cd7b0f36
Commit
cd7b0f36
authored
Nov 16, 2018
by
Mark Andrews
Committed by
Evan Hunt
Nov 16, 2018
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
contrib/dlz/drivers/dlz_filesystem_driver.c
View file @
cd7b0f36
...
...
@@ -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 */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment