diff options
Diffstat (limited to 'lib/util/src')
-rw-r--r-- | lib/util/src/unix_dir_iterator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/src/unix_dir_iterator.c b/lib/util/src/unix_dir_iterator.c index e712a45..69a4251 100644 --- a/lib/util/src/unix_dir_iterator.c +++ b/lib/util/src/unix_dir_iterator.c @@ -91,6 +91,7 @@ static int dir_next(dir_iterator_t *base, dir_entry_t **out) dir_entry_t *decoded; size_t len; + *out = NULL; if (it->state != 0) return it->state; |