From 24a7ea1cdcba91f15670c50ba0e1ea456fa2a5ca Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Tue, 18 Jan 2011 08:41:14 +0300 Subject: radius: don't free receive buffer immediatly --- accel-pppd/radius/packet.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/accel-pppd/radius/packet.c b/accel-pppd/radius/packet.c index a3ba9a2d..e8d2af93 100644 --- a/accel-pppd/radius/packet.c +++ b/accel-pppd/radius/packet.c @@ -227,9 +227,6 @@ int rad_packet_recv(int fd, struct rad_packet_t **p, struct sockaddr_in *addr) n -= 2 + len; } - munmap(pack->buf, REQ_LENGTH_MAX); - pack->buf = NULL; - *p = pack; return 0; -- cgit v1.2.3