Last forgotten free removed

This commit is contained in:
Palanix 2024-04-06 22:57:10 +02:00
parent 492a3511c5
commit 10a7663d0b
No known key found for this signature in database
GPG key ID: 439CD6BD9905FAC5

1
ccc.c
View file

@ -637,7 +637,6 @@ void add_file_stat(char *filename, char *path, int ftype)
bool force = ftype == 2 ? true : false; bool force = ftype == 2 ? true : false;
arraylist_add(marked, filename, path, NULL, type, icon_str, 8, true, force); arraylist_add(marked, filename, path, NULL, type, icon_str, 8, true, force);
/* free type and return without allocating more stuff */ /* free type and return without allocating more stuff */
free(type);
return; return;
} }