vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Mar 27 16:56:59 2011 +0300| [276a9657f77872122e43f73c49970b9b06d5af8e] | committer: Rémi Denis-Courmont
Fluidsynth: small unlikely memory leak > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=276a9657f77872122e43f73c49970b9b06d5af8e --- modules/codec/fluidsynth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/codec/fluidsynth.c b/modules/codec/fluidsynth.c index 129aab8..6d1e356 100644 --- a/modules/codec/fluidsynth.c +++ b/modules/codec/fluidsynth.c @@ -238,7 +238,7 @@ static aout_buffer_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block) unsigned samples = (p_block->i_pts - date_Get (&p_sys->end_date)) * 441 / 10000; if (samples == 0) - return NULL; + goto drop; p_out = decoder_NewAudioBuffer (p_dec, samples); if (p_out == NULL) _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
