[vlc-commits] commit: Fixed a memleak in picture_fifo_Delete(). (Laurent Aimar )

git at videolan.org git at videolan.org
Mon May 24 23:59:56 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon May 24 20:06:11 2010 +0200| [37bef1d6d63314e01af86fe2080d188719f61152] | committer: Laurent Aimar 

Fixed a memleak in picture_fifo_Delete().

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37bef1d6d63314e01af86fe2080d188719f61152
---

 src/misc/picture_fifo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/misc/picture_fifo.c b/src/misc/picture_fifo.c
index a050a4a..052ad08 100644
--- a/src/misc/picture_fifo.c
+++ b/src/misc/picture_fifo.c
@@ -146,5 +146,6 @@ void picture_fifo_Delete(picture_fifo_t *fifo)
 {
     picture_fifo_Flush(fifo, INT64_MAX, true);
     vlc_mutex_destroy(&fifo->lock);
+    free(fifo);
 }
 



More information about the vlc-commits mailing list