More memory clean-ups
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2901 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8380534b1d
commit
41808c26be
7 changed files with 48 additions and 9 deletions
|
@ -24,6 +24,17 @@ struct version_string_list {
|
|||
class CVersionStrigList : public SortedStringListND<struct version_string_list>
|
||||
{
|
||||
public:
|
||||
~CVersionStrigList()
|
||||
{
|
||||
struct version_string_list *itr = (struct version_string_list *) gr.get();
|
||||
int i = gr.getlen() / sizeof(struct version_string_list);
|
||||
|
||||
while (i--)
|
||||
{
|
||||
delete itr[i].pChildStrings;
|
||||
}
|
||||
}
|
||||
|
||||
int add(LANGID langid, int codepage)
|
||||
{
|
||||
char Buff[10];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue