[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-sctp
Subject: [PATCH lksctp-tools 5/5] fix memory leak in test_fragments
From: Qiumiao Zhang <zhangqiumiao1 () huawei ! com>
Date: 2023-02-16 11:48:22
Message-ID: 20230216114822.1000-6-zhangqiumiao1 () huawei ! com
[Download RAW message or body]
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
---
src/func_tests/test_fragments.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/func_tests/test_fragments.c b/src/func_tests/test_fragments.c
index 359a78e..3071176 100644
--- a/src/func_tests/test_fragments.c
+++ b/src/func_tests/test_fragments.c
@@ -238,6 +238,7 @@ main(int argc, char *argv[])
sizeof(disable_frag));
msg_cnt = sizeof(msg_sizes) / sizeof(int);
+ free(msg_buf);
/* Send and receive the messages of different sizes specified in the
* msg_sizes array in a loop.
--
2.27.0
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic