Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
24
Issues
24
List
Boards
Labels
Milestones
Merge Requests
6
Merge Requests
6
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Knot projects
Knot DNS
Commits
23daac97
Commit
23daac97
authored
Apr 10, 2015
by
Daniel Salzman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf: fix loop termination (clang analyzer)
parent
acd1b69c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/knot/conf/conf.c
src/knot/conf/conf.c
+1
-1
No files found.
src/knot/conf/conf.c
View file @
23daac97
...
...
@@ -80,7 +80,7 @@ static void rm_dir(const char *path)
char
*
file
=
sprintf_alloc
(
"%s/%s"
,
path
,
entry
->
d_name
);
if
(
file
==
NULL
)
{
ret
=
KNOT_ENOMEM
;
continue
;
break
;
}
remove
(
file
);
free
(
file
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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