From: RĂ©mi Duraffort Date: Fri, 1 Aug 2008 15:24:19 +0000 (+0200) Subject: The last but not least of this serie of memleaks. X-Git-Tag: 0.9.0-test3~50 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=fa61862474c332412e0341d98f1cf82c067d277a The last but not least of this serie of memleaks. --- diff --git a/modules/audio_output/jack.c b/modules/audio_output/jack.c index c8345db4a0..f87d4cbe01 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] )