From c7be71ae710280f750c14973e303ec3550e94ec3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 4 Aug 2012 03:32:12 +0200 Subject: command, mplayer: free return value of demuxer_stream_lang() --- command.c | 1 + 1 file changed, 1 insertion(+) (limited to 'command.c') diff --git a/command.c b/command.c index bf3acba5c6..6ec37d4f26 100644 --- a/command.c +++ b/command.c @@ -2686,6 +2686,7 @@ static void show_tracks_on_osd(MPContext *mpctx) char *lang = demuxer_stream_lang(mpctx->demuxer, sh); if (lang) res = talloc_asprintf_append(res, "(%s) ", lang); + talloc_free(lang); if (selected) res = talloc_asprintf_append(res, "<"); res = talloc_asprintf_append(res, "\n"); -- cgit v1.2.3