Browse Source

i420_nv12: Fix leak

pull/56/head
Hugo Beauzée-Luyssen 9 years ago
parent
commit
6329e2c506
  1. 3
      modules/video_chroma/i420_nv12.c

3
modules/video_chroma/i420_nv12.c

@ -89,7 +89,8 @@ static int Create( vlc_object_t *p_this )
return -1;
}
filter_sys_t *p_sys = calloc(1, sizeof(filter_sys_t));
filter_sys_t *p_sys = vlc_malloc( VLC_OBJECT( p_filter ),
sizeof(filter_sys_t) );
if (!p_sys)
return VLC_ENOMEM;

Loading…
Cancel
Save