Commit f80a71a9 authored by Francois Cartegnie's avatar Francois Cartegnie

codec: vaapi: fix leak (cid #1048909)

parent f121c6d7
......@@ -146,6 +146,7 @@ static int Open( vlc_va_t *va, int i_codec_id, int i_thread_count )
i_surface_count = 16 + i_thread_count + 2;
break;;
default:
free( sys );
return VLC_EGENERIC;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment