[MPlayer-cvslog] r30814 - trunk/stream/stream_cue.c
reimar
subversion at mplayerhq.hu
Mon Mar 1 21:38:34 CET 2010
Author: reimar
Date: Mon Mar 1 21:38:33 2010
New Revision: 30814
Log:
Fix memleak due to strdup'd filename not being freed.
Modified:
trunk/stream/stream_cue.c
Modified: trunk/stream/stream_cue.c
==============================================================================
--- trunk/stream/stream_cue.c Mon Mar 1 21:33:47 2010 (r30813)
+++ trunk/stream/stream_cue.c Mon Mar 1 21:38:33 2010 (r30814)
@@ -333,6 +333,8 @@ static int cue_read_cue (char *in_cue_fi
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) {
More information about the MPlayer-cvslog
mailing list