1
0
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:
László Molnár 2006-05-18 15:20:11 +02:00
parent 78579b1103
commit 9a3b7a4f3f

View File

@ -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)