diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-04-19 09:34:48 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-04-19 09:34:48 +0000 |
commit | fc32ee4a20cad290b8f0976573f6b6604bee812f (patch) | |
tree | a5ec4590ee7de24610cc7c6f7533191aacdd035b /regcomp.c | |
parent | a075176614b5ba61bbee8cc5336ddfbd48f21998 (diff) | |
download | perl-fc32ee4a20cad290b8f0976573f6b6604bee812f.tar.gz |
There's a macro to get ${^RE_DEBUG_FLAGS} when debugging,
so use it (and this fixes a valgrind memory access error)
p4raw-id: //depot/perl@27899
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -5994,9 +5994,8 @@ Perl_pregfree(pTHX_ struct regexp *r) dVAR; #ifdef DEBUGGING SV * const dsv = PERL_DEBUG_PAD_ZERO(0); - SV * const re_debug_flags=get_sv(RE_DEBUG_FLAGS,0); #endif - + GET_RE_DEBUG_FLAGS_DECL; if (!r || (--r->refcnt > 0)) return; |