mirror of
https://github.com/upx/upx
synced 2025-10-05 19:20:23 +08:00
arm/pe: really fix the memory leak
This commit is contained in:
parent
78579b1103
commit
9a3b7a4f3f
|
@ -1350,6 +1350,7 @@ void Resource::destroy(upx_rnode *node,unsigned level)
|
||||||
destroy(branch->children[ic],level + 1);
|
destroy(branch->children[ic],level + 1);
|
||||||
delete [] branch->children; branch->children = NULL;
|
delete [] branch->children; branch->children = NULL;
|
||||||
}
|
}
|
||||||
|
delete node;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void lame_print_unicode(const upx_byte *p)
|
static void lame_print_unicode(const upx_byte *p)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user