diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-12-14 12:20:17 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-12-14 12:20:17 +0000 |
commit | f288d058ce0252a33e3c0c2c76eb0fcd4c9a9051 (patch) | |
tree | 31c3155259441780acad8a03be58948dab676c09 /src | |
parent | 12b62a4b96a3f86e5d82875a50920bf5568ba183 (diff) | |
download | xine-lib-f288d058ce0252a33e3c0c2c76eb0fcd4c9a9051.tar.gz xine-lib-f288d058ce0252a33e3c0c2c76eb0fcd4c9a9051.tar.bz2 |
memleak
CVS patchset: 5910
CVS date: 2003/12/14 12:20:17
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index b5a0316d2..62d605a70 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.275 2003/12/12 01:44:40 f1rmb Exp $ + * $Id: xine.c,v 1.276 2003/12/14 12:20:17 f1rmb Exp $ */ /* @@ -1139,19 +1139,22 @@ void xine_exit (xine_t *this) { this->log_buffers[i]->dispose (this->log_buffers[i]); _x_dispose_plugins (this); - + + xine_list_free(this->streams); + if(this->clock) this->clock->exit (this->clock); - + if(this->config) this->config->dispose(this->config); - + #if defined(WIN32) - WSACleanup(); + WSACleanup(); #endif - + + pthread_mutex_destroy (&this->streams_lock); pthread_mutex_destroy(&this->streams_lock); - + free (this); } |