Index: lighttpd-1.4.x/src/stat_cache.c =================================================================== --- lighttpd-1.4.x/src/stat_cache.c (revision 2920) +++ lighttpd-1.4.x/src/stat_cache.c (revision 2921) @@ -648,6 +648,7 @@ FamErrlist[FAMErrno]); fam_dir_entry_free(fam_dir); + fam_dir = NULL; } else { int osize = 0;