mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
solid: plug memory leak
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
620856c842
commit
36b9f37514
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ Battery::Battery(UDevDevice *device)
|
|||
|
||||
Battery::~Battery()
|
||||
{
|
||||
m_client->deleteLater();
|
||||
}
|
||||
|
||||
bool Battery::isPlugged() const
|
||||
|
|
Loading…
Add table
Reference in a new issue