---
name: "close_fli"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/close_fli/3alleg4"
---

# close\_fli(3alleg4)

Closes a FLI file previously opened. Allegro game programming library.

## NAME

close\_fli - Closes a FLI file previously opened. Allegro game programming library.

## SYNOPSIS

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

**void close\_fli();**

## DESCRIPTION

Closes an FLI file when you have finished reading from it. Remember to do this to avoid having memory leaks in your program.

## SEE ALSO

**open\_fli**(3alleg4)
