From: Michael R. <mr...@us...> - 2003-08-15 15:02:43
|
Update of /cvsroot/xine/xine-lib/src/post/deinterlace In directory sc8-pr-cvs1:/tmp/cvs-serv26935/src/post/deinterlace Modified Files: xine_plugin.c Log Message: fix some small memleaks Index: xine_plugin.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/post/deinterlace/xine_plugin.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- xine_plugin.c 12 Aug 2003 13:56:25 -0000 1.12 +++ xine_plugin.c 15 Aug 2003 14:43:29 -0000 1.13 @@ -320,9 +320,10 @@ post_class_deinterlace_t *class = (post_class_deinterlace_t *)class_gen; 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; } @@ -407,6 +408,7 @@ 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); |