In perl.git, the branch blead has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/07ba20f405a32f68725aa52f3674162e3f0a3d69?hp=c509e2cacd1c085bb340266aac9708a5c3a950b6>

- Log -----------------------------------------------------------------
commit 07ba20f405a32f68725aa52f3674162e3f0a3d69
Author: David Mitchell <da...@iabyn.com>
Date:   Tue Apr 23 10:21:27 2019 +0100

    fix -DPERL_POISON builds
    
    Remove unnecessary casts that confused the Safefree() macro
    under PERL_POISON.
    
    The casts were needed when I directly called safefree(), but became
    superfluous once I switched to using the Safefree() macro.

-----------------------------------------------------------------------

Summary of changes:
 op.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/op.c b/op.c
index dac99107d5..1862f1b11b 100644
--- a/op.c
+++ b/op.c
@@ -16671,8 +16671,8 @@ custom_op_register_free(pTHX_ SV *sv, MAGIC *mg)
 
     PERL_UNUSED_ARG(mg);
     xop = INT2PTR(XOP *, SvIV(sv));
-    Safefree((void*)xop->xop_name);
-    Safefree((void*)xop->xop_desc);
+    Safefree(xop->xop_name);
+    Safefree(xop->xop_desc);
     Safefree(xop);
     return 0;
 }

-- 
Perl5 Master Repository

Reply via email to