On Mon, Sep 01, 2025 at 01:45:57PM +0800, Zongmin Zhou wrote:
From: Zongmin Zhou zhouzongmin@kylinos.cn
The buffer be used without free,fix it to avoid memory leak.
Signed-off-by: Zongmin Zhou zhouzongmin@kylinos.cn
Changes in v3:
- move freeaddrinfo() to a separate label.
Changes in v2:
- add the label to use instead of directly to use on each case.
Reviewed-by: Simon Horman horms@kernel.org