free the allocated memory 'found' in testlib/sctputil. Signed-off-by: Xin Long <lucien.xin@xxxxxxxxx> --- src/testlib/sctputil.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/testlib/sctputil.c b/src/testlib/sctputil.c index 714d7a5..24f305a 100644 --- a/src/testlib/sctputil.c +++ b/src/testlib/sctputil.c @@ -412,5 +412,6 @@ int test_peer_addr(int sk, sctp_assoc_t asoc, sockaddr_storage_t *peers, int cou } } sctp_freepaddrs(addrs); + free(found); return 0; } -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html