Commit 717d7371 authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Fixed potential NULL dereference when openning splitted rar files.

(cherry picked from commit 632b98d497c8c36b6bf1f61a8400501e293f51a4)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent c58d6d69
......@@ -351,7 +351,7 @@ int RarParse(stream_t *s, int *count, rar_file_t ***file)
if (vol != s)
stream_Delete(vol);
if (!has_next) {
if (!has_next || !pattern) {
free(volume_mrl);
return VLC_SUCCESS;
}
......
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