summaryrefslogtreecommitdiff
path: root/perly.c
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-08-19 00:41:46 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-08-19 00:41:46 +0000
commit489bbe731dd40f7d12e6e0e535fdfef30bb9e7fe (patch)
tree3bb5501a6cc8036fcb1b3dbf814caf60d1038d20 /perly.c
parentf2d19c81aed8415b916c8606ef0cc7d74a1bfb68 (diff)
downloadperl-489bbe731dd40f7d12e6e0e535fdfef30bb9e7fe.tar.gz
Restore use of Safefree() macro.
Diffstat (limited to 'perly.c')
-rw-r--r--perly.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/perly.c b/perly.c
index 735330a73d..8e94e1aa2a 100644
--- a/perly.c
+++ b/perly.c
@@ -1335,15 +1335,15 @@ yydestruct(ptr)
void* ptr;
{
struct ysv* ysave = (struct ysv*)ptr;
- if (ysave->yyss) safefree((char *)ysave->yyss);
- if (ysave->yyvs) safefree((char *)ysave->yyvs);
+ if (ysave->yyss) Safefree(ysave->yyss);
+ if (ysave->yyvs) Safefree(ysave->yyvs);
yydebug = ysave->oldyydebug;
yynerrs = ysave->oldyynerrs;
yyerrflag = ysave->oldyyerrflag;
yychar = ysave->oldyychar;
yyval = ysave->oldyyval;
yylval = ysave->oldyylval;
- safefree((char *)ysave);
+ Safefree(ysave);
}
int