Fix 2 leaks in CServerBrowser

This commit is contained in:
Learath2 2020-10-13 18:05:59 +02:00
parent 05fdd021c7
commit 48548090be

View file

@ -70,6 +70,12 @@ CServerBrowser::CServerBrowser()
CServerBrowser::~CServerBrowser() CServerBrowser::~CServerBrowser()
{ {
if(m_ppServerlist)
free(m_ppServerlist);
if(m_pSortedServerlist)
free(m_pSortedServerlist);
if(m_pDDNetInfo) if(m_pDDNetInfo)
json_value_free(m_pDDNetInfo); json_value_free(m_pDDNetInfo);
} }