mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-20 21:39:53 +01:00
Use sv_mortalcopy()
This commit is contained in:
parent
07e68aa694
commit
7644555d6b
@ -368,7 +368,7 @@ XS(xs_unpacker_data) {
|
||||
}
|
||||
|
||||
UNPACKER(ST(0), mp);
|
||||
ST(0) = sv_2mortal(newSVsv(template_data(mp)));
|
||||
ST(0) = sv_mortalcopy(template_data(mp));
|
||||
|
||||
XSRETURN(1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user