---
name: "close_fli"
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/close_fli"
---

# close\_fli(3alleg)

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**(3alleg)](/open_fli/3alleg.md)
