1
0
Fork 0

REVIEW: Memory Leak - Options ctor

15,768 bytes in 219 blocks are still reachable
This commit is contained in:
Scott Giese 2020-08-22 17:23:55 -05:00
parent 14b28d4f72
commit f21eb3a484

View file

@ -2105,6 +2105,7 @@ Options::Options() :
// build option map // build option map
OptionDesc *desc = &fgOptionArray[ 0 ]; OptionDesc *desc = &fgOptionArray[ 0 ];
while ( desc->option != 0 ) { while ( desc->option != 0 ) {
// REVIEW: Memory Leak - 15,768 bytes in 219 blocks are still reachable
p->options[ desc->option ] = desc; p->options[ desc->option ] = desc;
++desc; ++desc;
} }