mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix memory leak in client
This commit is contained in:
parent
d3837038eb
commit
0963b68dea
|
@ -914,6 +914,9 @@ void CServerBrowser::LoadDDNet()
|
|||
m_NumDDNetCountries++;
|
||||
}
|
||||
}
|
||||
|
||||
if (pCountries)
|
||||
json_value_free(pCountries);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue