[vlc-commits] jack: prevent string memory leak

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


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Sat Nov 16 19:53:08 2019 +0100| [4fb6ce8427d03b4db2ec3785f6540a3f89aa8681] | committer: Thomas Guillem

jack: prevent string memory leak

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

 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;



More information about the vlc-commits mailing list