Commit 71180022 authored by Lawrence D'Oliveiro's avatar Lawrence D'Oliveiro Committed by Jean-Baptiste Kempf

dvd_reader.c: fix a little memory leak

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent ab474a07
......@@ -450,6 +450,7 @@ dvd_reader_t *DVDOpen( const char *ppath )
if( retval == -1 ) {
goto DVDOpen_error;
}
free(path_copy);
path_copy = new_path;
new_path = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment