Commit f0dfd71b authored by Rémi Duraffort's avatar Rémi Duraffort

Fix memory leak.

parent 0674cc73
...@@ -366,6 +366,7 @@ static char *relative_URI(stream_t *s, const char *uri, const char *path) ...@@ -366,6 +366,7 @@ static char *relative_URI(stream_t *s, const char *uri, const char *path)
p_sys->m3u8.psz_host, path ? path : psz_path, uri) < 0) p_sys->m3u8.psz_host, path ? path : psz_path, uri) < 0)
goto fail; goto fail;
} }
free(psz_path);
return psz_uri; return psz_uri;
fail: fail:
......
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