]> git.sesse.net Git - vlc/blobdiff - modules/control/http/http.c
Potential memleak.
[vlc] / modules / control / http / http.c
index 54cce0bfa75cf51f11920d5c6d144427833f741e..1b1796a1c6b6a1915292e9129bd3a1508df39e9d 100644 (file)
@@ -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 );
     }