提交 24a7ea1c 编写于 作者: D Dmitry Kozlov

radius: don't free receive buffer immediatly

上级 c783f297
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册