mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 18:57:35 +00:00
stream_dvdnav: free pointer to priv->filename on close
CC: @mpv-player/stable Signed-off-by: wm4 <wm4@nowhere>
This commit is contained in:
parent
4bd75313d1
commit
f8a7517fb7
@ -638,6 +638,8 @@ static void stream_dvdnav_close(stream_t *s)
|
||||
priv->dvdnav = NULL;
|
||||
if (priv->dvd_speed)
|
||||
dvd_set_speed(s, priv->filename, -1);
|
||||
if (priv->filename)
|
||||
free(priv->filename);
|
||||
}
|
||||
|
||||
static struct priv *new_dvdnav_stream(stream_t *stream, char *filename)
|
||||
|
Loading…
Reference in New Issue
Block a user