Commit e74c5f5c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

VLCBackend: Release LibVLCInstance when destroying backend

parent 3d5709f8
......@@ -53,6 +53,11 @@ VLCBackend::VLCBackend()
assert( m_vlcInstance != NULL );
}
VLCBackend::~VLCBackend()
{
delete m_vlcInstance;
}
ISource*
VLCBackend::createSource(const char *path)
{
......
......@@ -38,6 +38,7 @@ class VLCBackend : public IBackend, public Singleton<VLCBackend>
{
public:
VLCBackend();
virtual ~VLCBackend();
virtual ISource* createSource( const char* path );
virtual IMemorySource* createMemorySource();
virtual void setLogHandler( void* data, LogHandler logHandler );
......
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