[vlc-devel] commit: video_filter_logo: fix memleak. ( Rémi Duraffort )

git version control git at videolan.org
Thu Aug 27 13:26:23 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Aug 27 12:17:54 2009 +0200| [54ccfb3042023145890462a505b477246764363b] | committer: Rémi Duraffort 

video_filter_logo: fix memleak.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=54ccfb3042023145890462a505b477246764363b
---

 modules/video_filter/logo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/video_filter/logo.c b/modules/video_filter/logo.c
index 5c34d53..98f42e4 100644
--- a/modules/video_filter/logo.c
+++ b/modules/video_filter/logo.c
@@ -721,6 +721,7 @@ static void LogoListUnload( logo_list_t *p_list )
             picture_Release( p_logo->p_pic );
             p_logo->p_pic = NULL;
         }
+        free( p_logo );
     }
 }
 




More information about the vlc-devel mailing list