projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warnings from cppcheck.
[tinc]
/
src
/
conf.c
diff --git
a/src/conf.c
b/src/conf.c
index
c1302d2
..
b30feed
100644
(file)
--- a/
src/conf.c
+++ b/
src/conf.c
@@
-411,8
+411,7
@@
bool append_config_file(const char *name, const char *key, const char *value) {
fclose(fp);
}
-
free(fname);
- return fp;
+ return fp
!= NULL
;
}