Skip to content

Commit 4541904

Browse files
Steve HaySteve Hay
Steve Hay
authored and
Steve Hay
committed
Fix Newz() backwards-compatibility macro
p4raw-id: //depot/perl@25196
1 parent e935c5a commit 4541904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ Malloc_t Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int li
701701
/* pre 5.9.x compatibility */
702702
#define New(x,v,n,t) Newx(v,n,t)
703703
#define Newc(x,v,n,t,c) Newxc(v,n,t,c)
704-
#define Newz(x,v,n,t,c) Newxz(v,n,t,c)
704+
#define Newz(x,v,n,t) Newxz(v,n,t)
705705

706706
#define Renew(v,n,t) \
707707
(v = (MEM_WRAP_CHECK_(n,t) MEM_LOG_REALLOC(n,t,v,(t*)saferealloc((Malloc_t)(v),(MEM_SIZE)((n)*sizeof(t))))))

0 commit comments

Comments
 (0)