From 6ccfa7a8898d08526a701345824539301c50d72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Mon, 25 Sep 2006 23:11:19 +0000 Subject: Free the filename variable after usage (_x_rip_plugin_get_instance uses strdup() properly). CVS patchset: 8277 CVS date: 2006/09/25 23:11:19 --- src/xine-engine/xine.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 43f6e11a4..5e07836d1 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.333 2006/09/14 06:46:31 pmhahn Exp $ + * $Id: xine.c,v 1.334 2006/09/25 23:11:19 dgp85 Exp $ */ /* @@ -827,6 +827,8 @@ static int open_internal (xine_stream_t *stream, const char *mrl) { xine_log(stream->xine, XINE_LOG_MSG, _("xine: join rip input plugin\n")); input_saver = _x_rip_plugin_get_instance (stream, filename); + free(filename); + if( input_saver ) { stream->input_plugin = input_saver; } else { -- cgit v1.2.3