[dovecot-cvs] dovecot/src/auth passdb-cache.c,1.1,1.2
cras at dovecot.org
cras at dovecot.org
Fri Oct 22 17:15:34 EEST 2004
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv8231
Modified Files:
passdb-cache.c
Log Message:
Don't try to free cache if it doesn't exist.
Index: passdb-cache.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-cache.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- passdb-cache.c 21 Oct 2004 02:23:12 -0000 1.1
+++ passdb-cache.c 22 Oct 2004 14:15:32 -0000 1.2
@@ -139,5 +139,6 @@
void passdb_cache_deinit(void)
{
- auth_cache_free(passdb_cache);
+ if (passdb_cache != NULL)
+ auth_cache_free(passdb_cache);
}
More information about the dovecot-cvs
mailing list