Original commit message from CVS:
fix a memory leak in win32/dirent.c
+2004-09-19 Steve Lhomme <steve.lhomme@free.fr>
+
+ * win32/dirent.c:
+ fix a memory leak
+
2004-09-10 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
-Subproject commit 5ec931d243c53ddda5b2cbb9a2c21ce89747bcb4
+Subproject commit ded6dc5186cb7f8c64cb06a8591b9f787122c6f1
* Updated by Jeremy Bettis <jeremy@hksys.com>
* Significantly revised and rewinddir, seekdir and telldir added by Colin
* Peters <colin@fu.is.saga-u.ac.jp>
+ *
+ * Resource leaks fixed by <steve.lhomme@free.fr>
+ *
*
* $Revision$
* $Author$
rc = _findclose (dirp->dd_handle);
}
+ if (dirp->dd_dir.d_name)
+ free (dirp->dd_dir.d_name);
+
/* Delete the dir structure. */
free (dirp);