resolve pb

This commit is contained in:
Théophyl Hoguet committed 2022-03-23 13:34:49 +01:00
1 parent b1bcce78f8
commit 4da52cd3aa
1 file changed
-3
-3
View File
@@ -300,9 +300,6 @@ Env* init(SDL_Renderer* ren, int argc, char* argv[]) {
env->rec_undo = malloc(sizeof(SDL_Rect));
if (env->rec_undo == NULL)
ERROR("%s", "NOT ENOUGTH MEMORY\n");
TTF_CloseFont(font);
// Musics lightbulb
env->lb_music = malloc(sizeof(Mix_Music*) * 3);
if (env->lb_music == NULL)