mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Fix 2 leaks in CServerBrowser
This commit is contained in:
parent
05fdd021c7
commit
48548090be
|
@ -70,6 +70,12 @@ CServerBrowser::CServerBrowser()
|
|||
|
||||
CServerBrowser::~CServerBrowser()
|
||||
{
|
||||
if(m_ppServerlist)
|
||||
free(m_ppServerlist);
|
||||
|
||||
if(m_pSortedServerlist)
|
||||
free(m_pSortedServerlist);
|
||||
|
||||
if(m_pDDNetInfo)
|
||||
json_value_free(m_pDDNetInfo);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue