---
name: "unw_destroy_addr_space"
section: "3libunwind"
platform: "linux"
package: "libunwind-dev"
version: "1.8.1-0.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/unw_destroy_addr_space/3libunwind"
---

# unw\_destroy\_addr\_space(3libunwind)

## NAME

unw\_destroy\_addr\_space -- destroy unwind address space

## SYNOPSIS

\#include \<libunwind.h\>\

void unw\_destroy\_addr\_space(unw\_addr\_space\_t as);\

## DESCRIPTION

The unw\_destroy\_addr\_space() routine destroys the  address space specified by argument as and thereby releases  all associated resources (such as memory).

Applications must not destroy the local address space  unw\_local\_addr\_space. Attempting to do so results in  undefined behavior (e.g., the application may crash).

## SEE ALSO

libunwind(3libunwind), unw\_create\_addr\_space(3libunwind)

## AUTHOR

David Mosberger-Tang\
 Email: **dmosberger@gmail.com**\
 WWW: **http://www.nongnu.org/libunwind/**.
