Commit 632b98d4 authored by Laurent Aimar's avatar Laurent Aimar

Fixed potential NULL dereference when openning splitted rar files.

parent 435f1d55
......@@ -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