add a LEAVE for the ENTER in LOAD_UTF8_CHARCLASS
authorTony Cook <tony@develop-help.com>
Sun, 6 Jan 2013 11:25:51 +0000 (22:25 +1100)
committerTony Cook <tony@develop-help.com>
Sun, 6 Jan 2013 11:25:51 +0000 (22:25 +1100)
This appears to fix the regression introduced in c7304fe2c

regexec.c

index 1860909..5e310da 100644 (file)
--- a/regexec.c
+++ b/regexec.c
@@ -144,6 +144,7 @@ static const char* const non_utf8_target_but_utf8_required
             ENTER; save_re_context();                                         \
             swash_ptr = _core_swash_init("utf8", property_name, &PL_sv_undef, \
                                          1, 0, NULL, &flags);                 \
+            LEAVE;                                                            \
             assert(swash_ptr);                                                \
         }                                                                     \
     } STMT_END