summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-12-13 19:27:34 +0000
committerjbj <devnull@localhost>1999-12-13 19:27:34 +0000
commitdab52919d121711f70e286416e2304733aa2e268 (patch)
tree506fbb5d9f7f27f7188f1fab605b3841d589c8d8 /lib
parent8f481702d8203c95d390f6eac93434019cf8d797 (diff)
downloadrpm-dab52919d121711f70e286416e2304733aa2e268.tar.gz
rpm-dab52919d121711f70e286416e2304733aa2e268.tar.bz2
rpm-dab52919d121711f70e286416e2304733aa2e268.zip
NULL missing at end of packages-to-be-installed array.
CVS patchset: 3480 CVS date: 1999/12/13 19:27:34
Diffstat (limited to 'lib')
-rw-r--r--lib/rpminstall.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c
index 769f9c165..9053d16cd 100644
--- a/lib/rpminstall.c
+++ b/lib/rpminstall.c
@@ -198,6 +198,8 @@ int rpmInstall(const char * rootdir, const char ** fileArgv, int transFlags,
break;
}
}
+ pkgURL[i] = NULL;
+ tmppkgURL[numTmpPkgs] = NULL;
sourceURL = alloca(sizeof(*sourceURL) * i);