Commit db0e6cf9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Minor simplification

parent 013aee5f
...@@ -560,8 +560,7 @@ found_shortcut: ...@@ -560,8 +560,7 @@ found_shortcut:
if( p_new_module ) if( p_new_module )
{ {
CacheMerge( p_this, p_module, p_new_module ); CacheMerge( p_this, p_module, p_new_module );
vlc_object_attach( p_new_module, p_module ); DeleteModule( p_new_module, false );
DeleteModule( p_new_module, true );
} }
} }
#endif #endif
......
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