---
name: "al_destroy_config"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_destroy_config"
---

# al\_destroy\_config(3)

Allegro 5 API

## NAME

al\_destroy\_config - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  void al_destroy_config(ALLEGRO_CONFIG *config)
  ```

## DESCRIPTION

Free the resources used by a configuration structure. Does nothing if passed NULL.

## SEE ALSO

[al\_create\_config(3)](/al_create_config/3.md), [al\_load\_config\_file(3)](/al_load_config_file/3.md)
