diff options
Diffstat (limited to 'nscd/nscd.c')
-rw-r--r-- | nscd/nscd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c index 4894cb2faa..e9bb75d3e9 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -493,7 +493,7 @@ termination_handler (int signum) /* Synchronize memory. */ for (int cnt = 0; cnt < lastdb; ++cnt) { - if (!dbs[cnt].enabled) + if (!dbs[cnt].enabled || dbs[cnt].head == NULL) continue; /* Make sure nobody keeps using the database. */ |