… | … | ||
---|---|---|---|
1401 | dSP; | 1401 | dSP; |
1402 | int count; | 1402 | int count; |
1403 | 1403 | ||
1404 | ENTER; SAVETMPS; PUSHMARK (SP); | 1404 | ENTER; SAVETMPS; PUSHMARK (SP); |
1405 | XPUSHs (HeVAL (he)); | 1405 | XPUSHs (HeVAL (he)); |
1406 | sv_2mortal (sv); | ||
1406 | 1407 | ||
1407 | PUTBACK; count = call_sv (HeVAL (cb), G_ARRAY); SPAGAIN; | 1408 | PUTBACK; count = call_sv (HeVAL (cb), G_ARRAY); SPAGAIN; |
1408 | 1409 | ||
1409 | if (count == 1) | 1410 | if (count == 1) |
1410 | { | 1411 | { |
1411 | sv = newSVsv (POPs); | 1412 | sv = newSVsv (POPs); |
1412 | FREETMPS; LEAVE; | 1413 | FREETMPS; LEAVE; |
1413 | return sv; | 1414 | return sv; |
1414 | } | 1415 | } |
1415 | 1416 | ||
1417 | SvREFCNT_inc (sv); | ||
1416 | FREETMPS; LEAVE; | 1418 | FREETMPS; LEAVE; |
1417 | } | 1419 | } |
1418 | } | 1420 | } |
1419 | 1421 | ||
1420 | if (dec->json.cb_object) | 1422 | if (dec->json.cb_object) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |