Mercurial > dovecot > original-hg > dovecot-1.2
diff src/auth/db-passwd-file.h @ 3879:928229f8b3e6 HEAD
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 14 Jan 2006 20:47:20 +0200 |
parents | 55df57c028d4 |
children | 2d0859490a2f |
line wrap: on
line diff
--- a/src/auth/db-passwd-file.h Sat Jan 14 19:23:22 2006 +0200 +++ b/src/auth/db-passwd-file.h Sat Jan 14 20:47:20 2006 +0200 @@ -43,6 +43,6 @@ db_passwd_file_lookup(struct db_passwd_file *db, struct auth_request *request); struct db_passwd_file *db_passwd_file_parse(const char *path, bool userdb); -void db_passwd_file_unref(struct db_passwd_file *db); +void db_passwd_file_unref(struct db_passwd_file **db); #endif