---
name: "sctp_freeladdrs"
section: "3"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/sctp_freeladdrs"
---

# sctp\_freeladdrs(3)

release the memory returned from a previous call

## NAME

**sctp\_freepaddrs**, **sctp\_freeladdrs** – release the memory returned from a previous call

## LIBRARY

Standard C Library (libc, -lc)

## SYNOPSIS

**#include \<sys/types.h\>**

**#include \<sys/socket.h\>**

**#include \<netinet/sctp.h\>**

*void*\

**sctp\_freepaddrs**(*struct sockaddr \**);

*void*\

**sctp\_freeladdrs**(*struct sockaddr \**);

## DESCRIPTION

The **sctp\_freepaddrs**() and **sctp\_freeladdrs**() functions are used to release the memory allocated by previous calls to **sctp\_getpaddrs**() or **sctp\_getladdrs**() respectively.

## RETURN VALUES

none.

## SEE ALSO

[sctp\_getladdrs(3)](/sctp_getladdrs/3.md), [sctp\_getpaddrs(3)](/sctp_getpaddrs/3.md), [sctp(4)](/sctp/4.md) R. Stewart, M. Tuexen, K. Poon, P. Lei, and V. Yasevich, *Sockets API Extensions for the Stream Control Transmission Protocol (SCTP)*, RFC 6458, December 2011.

## STANDARDS

The **sctp\_freepaddrs**() and **sctp\_freeladdrs**() functions conform to RFC 6458.
