X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcontrol%2Fhttp%2Fhttp.c;h=1b1796a1c6b6a1915292e9129bd3a1508df39e9d;hb=be68773052b3b440f3274b1164fb07b22d147a59;hp=54cce0bfa75cf51f11920d5c6d144427833f741e;hpb=be378fbc80c384e2541517d6853b59411b7e67de;p=vlc diff --git a/modules/control/http/http.c b/modules/control/http/http.c index 54cce0bfa7..1b1796a1c6 100644 --- a/modules/control/http/http.c +++ b/modules/control/http/http.c @@ -142,6 +142,7 @@ static int Open( vlc_object_t *p_this ) p_intf->p_sys = p_sys = malloc( sizeof( intf_sys_t ) ); if( !p_intf->p_sys ) { + free( psz_address ); return( VLC_ENOMEM ); }