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

access_http: fix a memory leak (each time we follow a redirection).

(cherry picked from commit a333ed73)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent f4b5cc79
......@@ -495,6 +495,9 @@ connect:
Disconnect( p_access );
cookies = p_sys->cookies;
#ifdef HAVE_ZLIB_H
inflateEnd( &p_sys->inflate.stream );
#endif
free( p_sys );
/* Do new Open() run with new data */
......
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