Fixed stupid memory leak in read_dir_rec

This commit is contained in:
Bert 2011-02-02 20:46:56 +01:00
parent eb6680b9f1
commit f5c125b3ee

2
main.c
View file

@ -444,6 +444,8 @@ void read_dir_rec(const char *dirname) {
else else
first = 0; first = 0;
} }
free(dirnames);
} }
void* s_malloc(size_t size) { void* s_malloc(size_t size) {