projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve use of compiler attributes
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
533e024
..
4f8d4fd
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-148,7
+148,8
@@
void free_connection(connection_t *c) {
free(c->hostname);
if(c->config_tree) {
free(c->hostname);
if(c->config_tree) {
- exit_configuration(&c->config_tree);
+ exit_configuration(c->config_tree);
+ c->config_tree = NULL;
}
free(c);
}
free(c);