Browse code

core: cfg.lex - do not destroy action if pre-fixup fails

- params might be in inconsistent state, shutdown is triggered which
cleans the pkg anyhow
- GH #2630

Daniel-Constantin Mierla authored on 11/02/2021 09:27:20
Showing 1 changed files
... ...
@@ -3542,7 +3542,7 @@ cmd:
3542 3542
 		}else{
3543 3543
 			if (mod_func_action && mod_f_params_pre_fixup(mod_func_action)<0) {
3544 3544
 				/* error messages are printed inside the function */
3545
-				free_mod_func_action(mod_func_action);
3545
+				/* free_mod_func_action(mod_func_action); */
3546 3546
 				mod_func_action = 0;
3547 3547
 				YYERROR;
3548 3548
 			}