vlc | branch: master | Tristan Matthews <[email protected]> | Sun Jan 24 11:30:35 2016 -0500| [0e722f01679a615c82ca14088e949a624747f4a3] | committer: Tristan Matthews
http: fix sizeof mismatch (cid #1349952) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0e722f01679a615c82ca14088e949a624747f4a3 --- modules/access/http/tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/http/tunnel.c b/modules/access/http/tunnel.c index fde65d0..52bd001 100644 --- a/modules/access/http/tunnel.c +++ b/modules/access/http/tunnel.c @@ -176,7 +176,7 @@ vlc_tls_t *vlc_https_connect_proxy(vlc_tls_creds_t *creds, if (resp == NULL) return NULL; - struct vlc_tls *psock = malloc(sizeof (*proxy)); + struct vlc_tls *psock = malloc(sizeof (*psock)); if (unlikely(psock == NULL)) { vlc_http_msg_destroy(resp); /* <- sock is destroyed there too */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
