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
1 changed files with 2 additions and 0 deletions

2
main.c
View File

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