[vlc-devel] [PATCH 1/4] jack: prevent sys->psz_ports memory leak

Alexandre Janniaux ajanni at videolabs.io
Sat Nov 16 19:54:27 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 64e8fc2557..aba108a988 100644
--- a/modules/access/jack.c
+++ b/modules/access/jack.c
@@ -310,6 +310,7 @@ static void Close( vlc_object_t *p_this )
     free( p_sys->pp_jack_port_input );
     free( p_sys->pp_jack_buffer );
     free( p_sys->pp_jack_port_table );
+    free( p_sys->psz_ports );
 }
 
 
-- 
2.24.0



More information about the vlc-devel mailing list