Fix memleak due to strdup'd filename not being freed.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30814 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-03-01 20:38:33 +00:00
parent cd4aa2aa30
commit 3fa6717fb9
1 changed files with 2 additions and 0 deletions

View File

@ -333,6 +333,8 @@ static int cue_read_cue (char *in_cue_filename)
av_strlcpy(bincue_path,t,sizeof( bincue_path ));
mp_msg(MSGT_OPEN,MSGL_V,"dirname: %s, cuepath: %s\n", t, bincue_path);
free(s);
s = t = NULL;
/* no path at all? */
if (strcmp(bincue_path, ".") == 0) {