Commit 6329e2c5 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

i420_nv12: Fix leak

parent 6b7b7920
......@@ -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;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment