aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 8286e08..aac72eb 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2692,6 +2692,7 @@ Trans_add(trans, pkg, ...)
relocations = calloc(2 + av_len(excludepath), sizeof(rpmRelocation));
while (--j >= 0) {
SV **e = av_fetch(excludepath, j, 0);
+ relocations[j].newPath = NULL;
if (e != NULL && *e != NULL) {
relocations[j].oldPath = SvPV_nolen(*e);
}