[vlc-devel] [PATCH 2/4] jack: prevent string memory leak

Alexandre Janniaux ajanni at videolabs.io
Sat Nov 16 19:54:28 CET 2019


---
 modules/access/jack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/access/jack.c b/modules/access/jack.c
index aba108a988..d77178c490 100644
--- a/modules/access/jack.c
+++ b/modules/access/jack.c
@@ -513,6 +513,7 @@ static void Port_finder( demux_t *p_demux )
 
             free( pp_jack_port_output );
         }
+        free( psz_uri );
     }
 
     p_sys->i_match_ports = i_total_out_ports;
-- 
2.24.0



More information about the vlc-devel mailing list