Browse Source

Fixed stupid memory leak in read_dir_rec

master
Bert 14 years ago
parent
commit
f5c125b3ee
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      main.c

+ 2
- 0
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) {


Loading…
Cancel
Save