diff --git a/src/edge_utils.c b/src/edge_utils.c index 7217499..f3d807e 100644 --- a/src/edge_utils.c +++ b/src/edge_utils.c @@ -1600,6 +1600,9 @@ void edge_send_packet2net(n2n_edge_t * eee, memcpy (tap_pkt, compression_buffer, compression_len); len = compression_len; + } + + if(compression_buffer) { free (compression_buffer); } }