diff options
author | Ewald Snel <esnel@users.sourceforge.net> | 2002-04-23 13:30:42 +0000 |
---|---|---|
committer | Ewald Snel <esnel@users.sourceforge.net> | 2002-04-23 13:30:42 +0000 |
commit | 2238f0536fa7bb4ad6d59ff38ed040dc4d81ff64 (patch) | |
tree | 41c61dbec58d9c610019cf4dade18416c6076d91 /src/input/input_plugin.h | |
parent | 8cab88a56f0c9fcaa14ea197ad8a95c58024abfc (diff) | |
download | xine-lib-2238f0536fa7bb4ad6d59ff38ed040dc4d81ff64.tar.gz xine-lib-2238f0536fa7bb4ad6d59ff38ed040dc4d81ff64.tar.bz2 |
Fix memory leaks by disposing input, demux and decoder plugins at exit
- add dispose() function to all decoder plugin structures
CVS patchset: 1763
CVS date: 2002/04/23 13:30:42
Diffstat (limited to 'src/input/input_plugin.h')
-rw-r--r-- | src/input/input_plugin.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h index 703b959e3..a3b753e93 100644 --- a/src/input/input_plugin.h +++ b/src/input/input_plugin.h @@ -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: input_plugin.h,v 1.22 2002/04/11 22:27:11 jcdutton Exp $ + * $Id: input_plugin.h,v 1.23 2002/04/23 13:30:43 esnel Exp $ */ #ifndef HAVE_INPUT_PLUGIN_H @@ -273,6 +273,11 @@ struct input_plugin_s */ int (*is_branch_possible) (input_plugin_t *this, char *next_mrl); + + /* + * free resources + */ + void (*dispose) (input_plugin_t *this); }; /* |