diff options
Diffstat (limited to 'src/pl/plperl/plperl.c')
| -rw-r--r-- | src/pl/plperl/plperl.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c index 72c4dc271b4..17544893efb 100644 --- a/src/pl/plperl/plperl.c +++ b/src/pl/plperl/plperl.c @@ -874,7 +874,7 @@ plperl_trusted_init(void)  		if (!isGV_with_GP(sv) || !GvCV(sv))  			continue;  		SvREFCNT_dec(GvCV(sv)); /* free the CV */ -		GvCV(sv) = NULL;		/* prevent call via GV */ +		GvCV_set(sv, NULL);		/* prevent call via GV */  	}  	hv_clear(stash); | 
