[vlc-devel] commit: Humhum. really fix the leak. ( Rémi Duraffort )

git version control git at videolan.org
Thu Aug 27 14:34:17 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Aug 27 14:33:54 2009 +0200| [58f5726feae6cb07f3dfec013f30085dc0bf5a26] | committer: Rémi Duraffort 

Humhum. really fix the leak.

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

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

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




More information about the vlc-devel mailing list