[vlc-devel] commit: Fixed a picture memleak in wall. (Laurent Aimar )
git version control
git at videolan.org
Tue Jun 9 20:00:28 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Jun 7 23:15:38 2009 +0200| [94e431d5ca83c7337c365e18ac48820bbeff285c] | committer: Laurent Aimar
Fixed a picture memleak in wall.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94e431d5ca83c7337c365e18ac48820bbeff285c
---
modules/video_filter/wall.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/wall.c b/modules/video_filter/wall.c
index d6a73a3..264107f 100644
--- a/modules/video_filter/wall.c
+++ b/modules/video_filter/wall.c
@@ -32,7 +32,7 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
-#include "vlc_video_splitter.h"
+#include <vlc_video_splitter.h>
/* FIXME it is needed for VOUT_ALIGN_* only */
#include <vlc_vout.h>
@@ -384,7 +384,10 @@ static int Filter( video_splitter_t *p_splitter, picture_t *pp_dst[], picture_t
video_splitter_sys_t *p_sys = p_splitter->p_sys;
if( video_splitter_NewPicture( p_splitter, pp_dst ) )
+ {
+ picture_Release( p_src );
return VLC_EGENERIC;
+ }
for( int y = 0; y < p_sys->i_row; y++ )
{
More information about the vlc-devel
mailing list