Commit 8a353bf6 authored by Laurent Aimar's avatar Laurent Aimar

Delete sub-filter callback before destroying p_spu memebers...

parent a33c431d
......@@ -280,6 +280,8 @@ void spu_Destroy( spu_t *p_spu )
{
spu_private_t *p_sys = p_spu->p;
var_DelCallback( p_spu, "sub-filter", SubFilterCallback, p_spu );
if( p_sys->p_blend )
FilterRelease( p_sys->p_blend );
......
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