diff options
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/dbg_log.c | 2 | ||||
-rw-r--r-- | nscd/nscd_getpw_r.c | 2 |
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; } |