[vlc-devel] commit: The last but not least of this serie of memleaks. ( Rémi Duraffort )

git version control git at videolan.org
Fri Aug 1 17:22:29 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Aug  1 17:24:19 2008 +0200| [fa61862474c332412e0341d98f1cf82c067d277a] | committer: Rémi Duraffort 

The last but not least of this serie of memleaks.

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

 modules/audio_output/jack.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/audio_output/jack.c b/modules/audio_output/jack.c
index c8345db..f87d4cb 100644
--- a/modules/audio_output/jack.c
+++ b/modules/audio_output/jack.c
@@ -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] )




More information about the vlc-devel mailing list