mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
Use sv_mortalcopy()
This commit is contained in:
parent
07e68aa694
commit
7644555d6b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue