diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-04-28 17:39:36 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-04-28 17:39:36 +0000 |
commit | f29f91cffdcee9f7418b387546d6f52cbb73477c (patch) | |
tree | 0d24a478ef7f58429c2761c8daa3a084956ccec6 /src | |
parent | 5b30a03fa2d48a8bb0878aab35bd1791c47d8e2e (diff) | |
download | xine-lib-f29f91cffdcee9f7418b387546d6f52cbb73477c.tar.gz xine-lib-f29f91cffdcee9f7418b387546d6f52cbb73477c.tar.bz2 |
descriptor leak patch from chrisxine-0_9_9-release0.9.9
CVS patchset: 1800
CVS date: 2002/04/28 17:39:36
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |