---
name: "al_findclose"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/al_findclose"
---

# al\_findclose(3alleg)

Closes a previously opened search with al\_findfirst(). Allegro game programming library.

## NAME

al\_findclose - Closes a previously opened search with al\_findfirst(). Allegro game programming library.

## SYNOPSIS

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

**void al\_findclose(struct al\_ffblk \*info);**

## DESCRIPTION

This closes a previously opened search with al\_findfirst(). You need to call this on all successfully opened searches to avoid memory leaks in your program.

## SEE ALSO

[**al\_findfirst**(3alleg)](/al_findfirst/3alleg.md), [**al\_findnext**(3alleg)](/al_findnext/3alleg.md)
