File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1709,7 +1709,9 @@ namespace simplecpp {
17091709 nameTokDef = nametoken;
17101710 variadic = false ;
17111711 variadicOpt = false ;
1712+ delete optExpandValue;
17121713 optExpandValue = nullptr ;
1714+ delete optNoExpandValue;
17131715 optNoExpandValue = nullptr ;
17141716 if (!nameTokDef) {
17151717 valueToken = endToken = nullptr ;
@@ -2383,8 +2385,8 @@ namespace simplecpp {
23832385 bool variadicOpt;
23842386
23852387 /* * Expansion value for varadic macros with __VA_OPT__ expanded and discarded respectively */
2386- const TokenList *optExpandValue;
2387- const TokenList *optNoExpandValue;
2388+ const TokenList *optExpandValue = nullptr ;
2389+ const TokenList *optNoExpandValue = nullptr ;
23882390
23892391 /* * was the value of this macro actually defined in the code? */
23902392 bool valueDefinedInCode_;
You can’t perform that action at this time.
0 commit comments