[vlc-devel] commit: Fix memleak (CID 213) ( Rémi Duraffort )
Rémi Denis-Courmont
rem at videolan.org
Wed Oct 1 21:20:20 CEST 2008
Le mercredi 1 octobre 2008 22:12:37 git version control, vous avez écrit :
> @@ -1880,8 +1883,11 @@ static int ParseRealText( demux_t *p_demux,
> subtitle_t *p_subtitle, int i_idx ) break;
> }
> /* Line is not recognized */
> - else continue;
> - free( psz_text );
> + else
> + {
> + free( psz_text );
> + continue;
> + }
> }
Does not look very logical a change to me.
--
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary
More information about the vlc-devel
mailing list