Fixed leak in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
4112aee9a3
commit
6518906b60
@ -57,6 +57,10 @@ Swatter::Swatter(Attachment *attachment, Kart *kart)
|
||||
//-----------------------------------------------------------------------------
|
||||
Swatter::~Swatter()
|
||||
{
|
||||
if (m_swat_sound)
|
||||
{
|
||||
sfx_manager->deleteSFX(m_swat_sound);
|
||||
}
|
||||
} // ~Swatter
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user