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

git at videolan.org git at videolan.org
Tue May 25 00:05:02 CEST 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon May 24 20:06:11 2010 +0200| [1069166d3dc37577b909647cdaa1c3f4780bcb97] | committer: Jean-Baptiste Kempf 

Fixed a memleak in picture_fifo_Delete().
(cherry picked from commit 37bef1d6d63314e01af86fe2080d188719f61152)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=1069166d3dc37577b909647cdaa1c3f4780bcb97
---

 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