Commit 37bef1d6 authored by Laurent Aimar's avatar Laurent Aimar

Fixed a memleak in picture_fifo_Delete().

parent 932f2030
...@@ -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