Commit 6ab93de3 (switch(string) memleak fix) broke break & return from switch case statements. Reported-by: Juha Heinanen jh tutpro com (cherry picked from commit c9586e183f5fbde854ec8f27c38f58a7853e971a)
@@ -1102,7 +1102,7 @@ sw_jt_def:
ret=run_actions(h, mct->jump[i], msg);
h->run_flags &= ~BREAK_R_F; /* catch breaks, but let
returns passthrough */
- break;
+ goto skip;
}
goto match_cleanup;