]> git.sesse.net Git - vlc/commitdiff
The last but not least of this serie of memleaks.
authorRémi Duraffort <ivoire@videolan.org>
Fri, 1 Aug 2008 15:24:19 +0000 (17:24 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Fri, 1 Aug 2008 15:24:19 +0000 (17:24 +0200)
modules/audio_output/jack.c

index c8345db4a0e325757bc0ec64a0a8179c662c8b81..f87d4cbe011ed09390e4c97b8a011f6f949f0106 100644 (file)
@@ -187,6 +187,7 @@ static int Open( vlc_object_t *p_this )
         const char **pp_in_ports = jack_get_ports( p_sys->p_jack_client,
                                                    psz_regex, NULL,
                                                    JackPortIsInput );
+        free( psz_regex );
         /* Count the number of returned ports */
         i_in_ports = 0;
         while( pp_in_ports && pp_in_ports[i_in_ports] )