X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.c;h=2fa789bdf6ba01cb47eb7d3eed2a80085d4b11e4;hp=cf5ec1b60507d7815c1d6a730eb3a76b0e356b14;hb=9de37fa18e63d71a4676e9d1c9820b09861c949b;hpb=1b30cee086148975886f961aadc26e23b1bfd6f2 diff --git a/src/connection.c b/src/connection.c index cf5ec1b6..2fa789bd 100644 --- a/src/connection.c +++ b/src/connection.c @@ -75,9 +75,6 @@ void free_connection(connection_t *c) { if(c->config_tree) exit_configuration(&c->config_tree); - if(c->buffer) - bufferevent_free(c->buffer); - if(c->thread) thread_destroy(&c->thread);