mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
audioplayer: fix memleak
Origin commit data
------------------
Branch: ni/coolstream
Commit: b520aa4827
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-03-01 (Fri, 01 Mar 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1837,6 +1837,7 @@ void CAudioPlayerGui::paintCover()
|
|||||||
cover_object->paint();
|
cover_object->paint();
|
||||||
|
|
||||||
m_cover_width = cover_object->getWidth() + OFFSET_INNER_MID;
|
m_cover_width = cover_object->getWidth() + OFFSET_INNER_MID;
|
||||||
|
delete cover_object;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1963,6 +1964,7 @@ void CAudioPlayerGui::paintDetailsLine(int pos)
|
|||||||
if (m_detailsline != NULL)
|
if (m_detailsline != NULL)
|
||||||
{
|
{
|
||||||
m_detailsline->kill();
|
m_detailsline->kill();
|
||||||
|
delete m_detailsline;
|
||||||
m_detailsline = NULL;
|
m_detailsline = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user