aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs3
1 files changed, 2 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 5b61c4c..a4a00e8 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -471,8 +471,9 @@ xpush_simple_list_str(const Header header, rpmTag tag_name) {
return 0;
size = rpmtdCount(&list);
+ EXTEND(SP, size);
while ((val = rpmtdNextString(&list))) {
- mXPUSHs(newSVpv(val, 0));
+ mPUSHs(newSVpv(val, 0));
}
rpmtdFreeData(&list);
PUTBACK;