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

hls: Removing useless assignments.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit c51ff47e)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7dcae00f
...@@ -248,7 +248,6 @@ static void hls_Free(hls_stream_t *hls) ...@@ -248,7 +248,6 @@ static void hls_Free(hls_stream_t *hls)
vlc_UrlClean(&hls->url); vlc_UrlClean(&hls->url);
free(hls->psz_current_key_path); free(hls->psz_current_key_path);
free(hls); free(hls);
hls = NULL;
} }
static hls_stream_t *hls_Copy(hls_stream_t *src, const bool b_cp_segments) static hls_stream_t *hls_Copy(hls_stream_t *src, const bool b_cp_segments)
...@@ -378,7 +377,6 @@ static void segment_Free(segment_t *segment) ...@@ -378,7 +377,6 @@ static void segment_Free(segment_t *segment)
if (segment->data) if (segment->data)
block_Release(segment->data); block_Release(segment->data);
free(segment); free(segment);
segment = NULL;
} }
static segment_t *segment_GetSegment(hls_stream_t *hls, const int wanted) static segment_t *segment_GetSegment(hls_stream_t *hls, const int wanted)
......
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