[vlc-devel] commit: Clone video filter : fix potential memleak. ( Rémi Duraffort )
git version control
git at videolan.org
Thu Jul 31 22:06:43 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 31 21:52:51 2008 +0200| [be378fbc80c384e2541517d6853b59411b7e67de]
Clone video filter : fix potential memleak.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be378fbc80c384e2541517d6853b59411b7e67de
---
modules/video_filter/clone.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/clone.c b/modules/video_filter/clone.c
index 5d125e0..4653563 100644
--- a/modules/video_filter/clone.c
+++ b/modules/video_filter/clone.c
@@ -160,7 +160,7 @@ static int Create( vlc_object_t *p_this )
* sizeof(char *) );
if( !p_vout->p_sys->ppsz_vout_list )
{
- msg_Err( p_vout, "out of memory" );
+ free( psz_clonelist );
free( p_vout->p_sys );
return VLC_ENOMEM;
}
More information about the vlc-devel
mailing list