summaryrefslogtreecommitdiff
path: root/build/pack.c
diff options
context:
space:
mode:
authormarc <devnull@localhost>1998-04-09 20:20:17 +0000
committermarc <devnull@localhost>1998-04-09 20:20:17 +0000
commit484c325f037a36ccd8a69859f077ff1efe5f8da7 (patch)
tree4f8b88ceb3e1670677e4de3bc6d8d6a45eafb241 /build/pack.c
parent16bd7e06bb57e03179759f38279736eafdaff312 (diff)
downloadlibrpm-tizen-484c325f037a36ccd8a69859f077ff1efe5f8da7.tar.gz
librpm-tizen-484c325f037a36ccd8a69859f077ff1efe5f8da7.tar.bz2
librpm-tizen-484c325f037a36ccd8a69859f077ff1efe5f8da7.zip
Jeff Johnson's memleak patches
CVS patchset: 2085 CVS date: 1998/04/09 20:20:17
Diffstat (limited to 'build/pack.c')
-rw-r--r--build/pack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/pack.c b/build/pack.c
index e1e7f8ac2..8f632c66c 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -215,6 +215,7 @@ static int writeRPM(Header header, char *fileName, int type,
sprintf(buf, "%s-%s-%s", name, version, release);
rpmGetArchInfo(NULL, &arch);
rpmGetOsInfo(NULL, &os);
+ memset(&lead, 0, sizeof(lead));
lead.major = RPM_MAJOR_NUMBER;
lead.minor = 0;
lead.type = type;