summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fastd.c b/src/fastd.c
index a0acbb1..58df7ec 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -335,8 +335,6 @@ static void handle_socket(fastd_context *ctx, int sockfd) {
else if(ctx->conf->n_floating) {
switch (packet_type) {
case PACKET_DATA:
- fastd_buffer_free(buffer);
-
peer = fastd_peer_add_temp(ctx, (fastd_peer_address*)&recvaddr);
ctx->conf->protocol->handle_recv(ctx, peer, buffer);
break;