[vlc-commits] jack: prevent sys->psz_ports memory leak

Alexandre Janniaux git at videolan.org
Thu Nov 21 15:36:20 CET 2019


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Sat Nov 16 19:51:09 2019 +0100| [141c4925a674ed1d924d31614057b46de3e1579c] | committer: Thomas Guillem

jack: prevent sys->psz_ports memory leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=141c4925a674ed1d924d31614057b46de3e1579c
---

 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 );
 }
 
 



More information about the vlc-commits mailing list