[vlc-commits] mpg123: missing p_block release

Ludovic Fauvet git at videolan.org
Fri Dec 5 12:40:27 CET 2014


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Dec  5 12:28:05 2014 +0100| [ff0fab9d3476165302ccebc47765c198491886de] | committer: Ludovic Fauvet

mpg123: missing p_block release

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

 modules/codec/mpg123.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/mpg123.c b/modules/codec/mpg123.c
index e87c6fb..8a8b662 100644
--- a/modules/codec/mpg123.c
+++ b/modules/codec/mpg123.c
@@ -118,6 +118,7 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
     if( i_err == MPG123_NEED_MORE )
     {
         /* Need moar data */
+        block_Release( p_block );
         return NULL;
     }
     else if( i_err != MPG123_OK )



More information about the vlc-commits mailing list