mirror of https://github.com/mpv-player/mpv
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:
parent
cd4aa2aa30
commit
3fa6717fb9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue