diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-08-19 00:41:46 +0000 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-08-19 00:41:46 +0000 |
commit | 489bbe731dd40f7d12e6e0e535fdfef30bb9e7fe (patch) | |
tree | 3bb5501a6cc8036fcb1b3dbf814caf60d1038d20 /perly.c | |
parent | f2d19c81aed8415b916c8606ef0cc7d74a1bfb68 (diff) | |
download | perl-489bbe731dd40f7d12e6e0e535fdfef30bb9e7fe.tar.gz |
Restore use of Safefree() macro.
Diffstat (limited to 'perly.c')
-rw-r--r-- | perly.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |