mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
[playdar] Correct delete scopedpointer content
This commit is contained in:
parent
41faf4eee7
commit
7ace0ce70c
@ -51,9 +51,9 @@ PlaydarApi::start()
|
||||
if ( d->session.isNull() || d->connector.isNull() )
|
||||
{
|
||||
if ( !d->session.isNull() )
|
||||
delete d->session.data();
|
||||
d->session.reset();
|
||||
if ( !d->connector.isNull() )
|
||||
delete d->connector.data();
|
||||
d->connector.reset();
|
||||
tLog() << "Failed to start HTTPd, could not create object";
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user