diff options
author | Neil Brown <neilb@suse.de> | 2008-05-27 09:18:34 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-05-27 09:18:34 +1000 |
commit | 355726fa014fb9d656e6af92f0305e55af58de09 (patch) | |
tree | 69e65aea75f361eeb656b8b480897392b467cd0d /util.c | |
parent | 8c21018330e6adc15f347bd7c9e924866b8ca608 (diff) | |
download | mdadm-355726fa014fb9d656e6af92f0305e55af58de09.tar.gz mdadm-355726fa014fb9d656e6af92f0305e55af58de09.tar.xz mdadm-355726fa014fb9d656e6af92f0305e55af58de09.zip |
Remember to close directories when we are finished with them.
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -982,6 +982,7 @@ int open_container(int fd) return dfd; } } + closedir(dir); return -1; } |