From f29f91cffdcee9f7418b387546d6f52cbb73477c Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 28 Apr 2002 17:39:36 +0000 Subject: descriptor leak patch from chris CVS patchset: 1800 CVS date: 2002/04/28 17:39:36 --- src/xine-engine/xine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 1b8859991..ab2cd4d25 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.120 2002/04/23 13:30:44 esnel Exp $ + * $Id: xine.c,v 1.121 2002/04/28 17:39:36 guenter Exp $ * * top-level xine functions * @@ -373,6 +373,7 @@ int xine_play (xine_t *this, char *mrl, if (!find_demuxer(this, mrl)) { xine_log (this, XINE_LOG_FORMAT, _("xine: couldn't find demuxer for >%s<\n"), mrl); + this->cur_input_plugin->close(this->cur_input_plugin); this->err = XINE_ERROR_NO_DEMUXER_PLUGIN; pthread_mutex_unlock (&this->xine_lock); return 0; -- cgit v1.2.3