---
name: "stralloc_free"
section: "3diet"
platform: "linux"
package: "libowfat-dev"
version: "0.28-2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/stralloc_free/3diet"
---

# stralloc\_free(3diet)

free storage associated with a stralloc

## NAME

stralloc\_free - free storage associated with a stralloc

## SYNTAX

**#include \<stralloc.h\>**

void **stralloc\_free**(stralloc\* *sa*);

## DESCRIPTION

stralloc\_free returns the storage associated with *sa* to the system.  Afterwards, the stralloc is unallocated.

## RETURN VALUE

none.

## SEE ALSO

[stralloc\_ready(3)](/stralloc_ready/3.md)
