summaryrefslogtreecommitdiff
path: root/lib/cpio.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-09-21 17:21:57 +0000
committerjbj <devnull@localhost>1999-09-21 17:21:57 +0000
commite6318cc57f9581393d6cb534e3dece38b87aa3cb (patch)
tree9de6993179cceb5c262b8a205ed5d8b98c03a4f7 /lib/cpio.c
parent20d78e939aa218e85ef19013769494851d863f13 (diff)
downloadlibrpm-tizen-e6318cc57f9581393d6cb534e3dece38b87aa3cb.tar.gz
librpm-tizen-e6318cc57f9581393d6cb534e3dece38b87aa3cb.tar.bz2
librpm-tizen-e6318cc57f9581393d6cb534e3dece38b87aa3cb.zip
fix: removed files fingerprint memory leak.
fix: resurrect allfiles flag from rpm-2.5.x. CVS patchset: 3312 CVS date: 1999/09/21 17:21:57
Diffstat (limited to 'lib/cpio.c')
-rw-r--r--lib/cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpio.c b/lib/cpio.c
index d80470197..f22cd9acf 100644
--- a/lib/cpio.c
+++ b/lib/cpio.c
@@ -347,7 +347,7 @@ static int checkDirectory(char * filename)
if (lastDirAlloced < (length + 1)) {
lastDirAlloced = length + 100;
- lastDir = xrealloc(lastDir, lastDirAlloced);
+ lastDir = xrealloc(lastDir, lastDirAlloced); /* XXX memory leak */
}
strcpy(lastDir, buf);