summaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-10-03 20:44:20 +0000
committerJakub Jelinek <jakub@redhat.com>2005-10-03 20:44:20 +0000
commita5a11654ea5ea89bfffb295fbb2f17cbb45839b6 (patch)
tree2078fd7b828ae3b4c030e6722c53bdc81542a511 /nscd
parent6543cff055c298ea3ec718b356f6c2115e8797ae (diff)
downloadglibc-a5a11654ea5ea89bfffb295fbb2f17cbb45839b6.tar.gz
Updated to fedora-glibc-20051003T2040
Diffstat (limited to 'nscd')
-rw-r--r--nscd/dbg_log.c2
-rw-r--r--nscd/nscd_getpw_r.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/nscd/dbg_log.c b/nscd/dbg_log.c
index afa06dcbe9..4b8843037b 100644
--- a/nscd/dbg_log.c
+++ b/nscd/dbg_log.c
@@ -44,7 +44,7 @@ init_logfile (void)
{
if (logfilename)
{
- dbgout = fopen (logfilename, "a");
+ dbgout = fopen64 (logfilename, "a");
return dbgout == NULL ? 0 : 1;
}
return 1;
diff --git a/nscd/nscd_getpw_r.c b/nscd/nscd_getpw_r.c
index 61a712c6b4..e8e4d7364f 100644
--- a/nscd/nscd_getpw_r.c
+++ b/nscd/nscd_getpw_r.c
@@ -227,8 +227,6 @@ nscd_getpw_r (const char *key, size_t keylen, request_type type,
mapped = NO_MAPPING;
}
- free (resultbuf);
-
goto retry;
}