summaryrefslogtreecommitdiff
path: root/lib/fprint.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/fprint.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/fprint.c')
-rw-r--r--lib/fprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fprint.c b/lib/fprint.c
index 2c349845a..73afd6ea0 100644
--- a/lib/fprint.c
+++ b/lib/fprint.c
@@ -96,7 +96,7 @@ static fingerPrint doLookup(const char * fullName, int scareMemory,
if (scareMemory)
fp.basename = chptr1;
else
- fp.basename = xstrdup(chptr1);
+ fp.basename = xstrdup(chptr1); /* XXX memory leak */
fp.ino = sb.st_ino;
fp.dev = sb.st_dev;