Commit 1069166d authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Fixed a memleak in picture_fifo_Delete().

(cherry picked from commit 37bef1d6)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0dad9f6c
...@@ -146,5 +146,6 @@ void picture_fifo_Delete(picture_fifo_t *fifo) ...@@ -146,5 +146,6 @@ void picture_fifo_Delete(picture_fifo_t *fifo)
{ {
picture_fifo_Flush(fifo, INT64_MAX, true); picture_fifo_Flush(fifo, INT64_MAX, true);
vlc_mutex_destroy(&fifo->lock); vlc_mutex_destroy(&fifo->lock);
free(fifo);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment