Commit 01da2be7 authored by Erwan Tulou's avatar Erwan Tulou

skins2: release all ressources created in constructor.

parent af77f367
......@@ -91,7 +91,11 @@ ThemeRepository::ThemeRepository( intf_thread_t *pIntf ): SkinObject( pIntf )
ThemeRepository::~ThemeRepository()
{
var_DelCallback( getIntf(), "intf-skins", changeSkin, this );
var_DelCallback( getIntf(), "intf-skins-interactive", changeSkin, this );
var_Destroy( getIntf(), "intf-skins" );
var_Destroy( getIntf(), "intf-skins-interactive" );
}
......
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