mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
fix a memory leak in win32/dirent.c
Original commit message from CVS: fix a memory leak in win32/dirent.c
This commit is contained in:
parent
72898e036f
commit
d2f7218664
3 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2004-09-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 5ec931d243c53ddda5b2cbb9a2c21ce89747bcb4
|
Subproject commit ded6dc5186cb7f8c64cb06a8591b9f787122c6f1
|
|
@ -8,6 +8,9 @@
|
||||||
* Updated by Jeremy Bettis <jeremy@hksys.com>
|
* Updated by Jeremy Bettis <jeremy@hksys.com>
|
||||||
* Significantly revised and rewinddir, seekdir and telldir added by Colin
|
* Significantly revised and rewinddir, seekdir and telldir added by Colin
|
||||||
* Peters <colin@fu.is.saga-u.ac.jp>
|
* Peters <colin@fu.is.saga-u.ac.jp>
|
||||||
|
*
|
||||||
|
* Resource leaks fixed by <steve.lhomme@free.fr>
|
||||||
|
*
|
||||||
*
|
*
|
||||||
* $Revision$
|
* $Revision$
|
||||||
* $Author$
|
* $Author$
|
||||||
|
@ -205,6 +208,9 @@ _tclosedir (_TDIR * dirp)
|
||||||
rc = _findclose (dirp->dd_handle);
|
rc = _findclose (dirp->dd_handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dirp->dd_dir.d_name)
|
||||||
|
free (dirp->dd_dir.d_name);
|
||||||
|
|
||||||
/* Delete the dir structure. */
|
/* Delete the dir structure. */
|
||||||
free (dirp);
|
free (dirp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue