diff options
Diffstat (limited to 'stream/stream_cue.c')
-rw-r--r-- | stream/stream_cue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/stream_cue.c b/stream/stream_cue.c index a4affeb192..f19334edab 100644 --- a/stream/stream_cue.c +++ b/stream/stream_cue.c @@ -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) { |