fix: potential leak with gnl due to non-exhaustion

This commit is contained in:
Khaïs COLIN 2025-07-17 13:38:59 +02:00
parent 085a51ca6d
commit d7efc43f12
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
3 changed files with 23 additions and 4 deletions

View file

@ -23,5 +23,6 @@ int keyrelease_handler(int keycode, t_cub3d_data *data);
void my_mlx_pixel_put(t_mlx_data *data, int x, int y, int color);
void draw_2d_wall(unsigned int color, t_mlx_data *data, int x, int y);
void draw_map(t_mapdata *map, t_player *player, t_mlx_data *data);
void gnl_exhaust(int fd);
#endif