[vlc-devel] commit: Memory leak ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Mar 15 18:21:15 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 15 19:13:23 2009 +0200| [b22e760179bf21da1f5eff242b3236d47a2dd3b4] | committer: Rémi Denis-Courmont
Memory leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b22e760179bf21da1f5eff242b3236d47a2dd3b4
---
modules/demux/avformat/demux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index fae4a27..dd0f7c9 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -298,7 +298,7 @@ int OpenDemux( vlc_object_t *p_this )
msg_Warn( p_demux, "unsupported track type in ffmpeg demux" );
break;
}
- fmt.psz_language = strdup( p_sys->ic->streams[i]->language );
+ fmt.psz_language = p_sys->ic->streams[i]->language;
#ifdef HAVE_FFMPEG_CODEC_ATTACHMENT
if( cc->codec_type != CODEC_TYPE_ATTACHMENT )
More information about the vlc-devel
mailing list