cub3d/TODO

21 lines
1.1 KiB
Text
Raw Normal View History

[ ] corriger le segfault si on met une valeur invalide pour le DISPLAY
[ ] segfault si DISPLAY=
[ ] dynamiquement changer la taille de la fenetre
[ ] remove magic constants
[ ] memleak when file is not .cub
./cub3d bu
Error: Wrong map file. Reason: File is not a .cub file
=================================================================
==25600==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 1120 byte(s) in 1 object(s) allocated from:
#0 0x55a31341d2c7 in malloc (/home/khais/src/42/common_env/cub3d/cub3d+0x1262c7)
#1 0x55a313476348 in ft_calloc /home/freddy/42/cub3d/libft/src/mem/ft_calloc.c:26:14
#2 0x55a31346ac7d in main /home/khais/src/42/common_env/cub3d/src/main.c:51:13
#3 0x7f0c85c2a47d in __libc_start_call_main (/nix/store/vbrdc5wgzn0w1zdp10xd2favkjn5fk7y-glibc-2.40-66/lib/libc.so.6+0x2a47d) (BuildId: 35c004f9f845c2f6de31b1a4f3c440f369498fa4)
SUMMARY: AddressSanitizer: 1120 byte(s) leaked in 1 allocation(s).
[ ] add_textures: gnl: potential leak from early return
[ ] set_textures: potential logic error/leak when repeating texture directives