---
name: "lowdown_buf_free"
section: "3"
platform: "linux"
package: "lowdown"
version: "3.2.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/lowdown_buf_free"
---

# lowdown\_buf\_free(3)

free a dynamic buffer

## NAME

**lowdown\_buf\_free** – free a dynamic buffer

## LIBRARY

library “liblowdown”

## SYNOPSIS

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

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

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

*void*\

**lowdown\_buf\_free**(*struct lowdown\_buf \*buf*);

## DESCRIPTION

Frees a dynamic buffer created with [lowdown\_buf\_new(3)](/lowdown_buf_new/3.md). If *buf* is NULL, the function does nothing.

## SEE ALSO

[lowdown(3)](/lowdown/3.md), [lowdown\_buf\_new(3)](/lowdown_buf_new/3.md)
