diff options
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1176,7 +1176,8 @@ perl_get_emergency_buffer(IV *size) SvPOK_off(sv); SvPV_set(sv, Nullch); - SvCUR(sv) = SvLEN(sv) = 0; + SvCUR_set(sv, 0); + SvLEN_set(sv, 0); *size = malloced_size(pv) + M_OVERHEAD; return pv - sizeof(union overhead); } |