It should fix #1929.
Thanks for Aurélien Nephtali investigation.
p_filter->psz_object_name, p_filter );
/* Destroy the filter object */
p_filter->psz_object_name, p_filter );
/* Destroy the filter object */
- AllocatorClean( &p_chain->allocator, p_filter );
+ if( IsInternalVideoAllocator( p_filter ) )
+ AllocatorClean( &internal_video_allocator, p_filter );
+ else
+ AllocatorClean( &p_chain->allocator, p_filter );
vlc_object_detach( p_filter );
if( p_filter->p_module )
vlc_object_detach( p_filter );
if( p_filter->p_module )