diff options
author | marc <devnull@localhost> | 1998-04-09 20:20:17 +0000 |
---|---|---|
committer | marc <devnull@localhost> | 1998-04-09 20:20:17 +0000 |
commit | 484c325f037a36ccd8a69859f077ff1efe5f8da7 (patch) | |
tree | 4f8b88ceb3e1670677e4de3bc6d8d6a45eafb241 /build/pack.c | |
parent | 16bd7e06bb57e03179759f38279736eafdaff312 (diff) | |
download | librpm-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.c | 1 |
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; |