Commit 75fbc4d4 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

hls: Fixing a deadlock introduced in previous commit.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e0636237
......@@ -1397,10 +1397,10 @@ static int hls_UpdatePlaylist(stream_t *s, hls_stream_t *hls_new, hls_stream_t *
}
free(segment->psz_key_path);
segment->psz_key_path = p->psz_key_path ? strdup(p->psz_key_path) : NULL;
vlc_mutex_unlock(&segment->lock);
segment_Free(p);
free(psz_url);
}
vlc_mutex_unlock(&segment->lock);
}
else
{
......
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