--- JSON-XS/XS.xs 2007/03/25 21:19:13 1.18 +++ JSON-XS/XS.xs 2007/03/25 21:52:47 1.19 @@ -965,7 +965,7 @@ dec.depth = 0; dec.maxdepth = DEC_DEPTH (dec.flags); - *SvEND (sv) = 0; // this shou[ld basically be a nop, too + *SvEND (string) = 0; // this should basically be a nop, too sv = decode_sv (&dec); if (!sv)