diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-08-15 14:43:29 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-08-15 14:43:29 +0000 |
commit | 5fc2e2ea8a7d6bd9d95007ab8479e84a46410a9a (patch) | |
tree | f180ef3efb33b7583ce38fa8470f4ba0215d28cc /src/post/planar/eq.c | |
parent | 9cecc1669dea6e85c0e0c97caf8ef9301081cd85 (diff) | |
download | xine-lib-5fc2e2ea8a7d6bd9d95007ab8479e84a46410a9a.tar.gz xine-lib-5fc2e2ea8a7d6bd9d95007ab8479e84a46410a9a.tar.bz2 |
fix some small memleaks
CVS patchset: 5292
CVS date: 2003/08/15 14:43:29
Diffstat (limited to 'src/post/planar/eq.c')
-rw-r--r-- | src/post/planar/eq.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/post/planar/eq.c b/src/post/planar/eq.c index b83e058b6..e51fffe6d 100644 --- a/src/post/planar/eq.c +++ b/src/post/planar/eq.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: eq.c,v 1.4 2003/08/12 13:56:26 mroi Exp $ + * $Id: eq.c,v 1.5 2003/08/15 14:43:30 mroi Exp $ * * mplayer's eq (soft video equalizer) * Copyright (C) Richard Felker @@ -260,9 +260,10 @@ static post_plugin_t *eq_open_plugin(post_class_t *class_gen, int inputs, post_eq_out_t *output = (post_eq_out_t *)malloc(sizeof(post_eq_out_t)); post_video_port_t *port; - if (!this || !input || !output || !video_target || !video_target[0]) { + if (!this || !input || !input_api || !output || !video_target || !video_target[0]) { free(this); free(input); + free(input_api); free(output); return NULL; } @@ -348,6 +349,7 @@ static void eq_dispose(post_plugin_t *this_gen) free(this->post.xine_post.audio_input); free(this->post.xine_post.video_input); free(xine_list_first_content(this->post.input)); + free(xine_list_next_content(this->post.input)); free(xine_list_first_content(this->post.output)); xine_list_free(this->post.input); xine_list_free(this->post.output); |