diff options
author | Bert <ber.t@gmx.com> | 2011-02-02 20:46:56 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-02-02 20:46:56 +0100 |
commit | f5c125b3ee7ac6d718cf23ef3c7aaba90ce89ff8 (patch) | |
tree | 978a7da2f7cf1b1c9cccb660d577dba56251e468 | |
parent | eb6680b9f1ef0c62eb3b3ba92e78548a98c42be9 (diff) |
Fixed stupid memory leak in read_dir_rec
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -444,6 +444,8 @@ void read_dir_rec(const char *dirname) { else first = 0; } + + free(dirnames); } void* s_malloc(size_t size) { |