Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-imap/imap-match.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 | 12b3d542146c |
line wrap: on
line diff
--- a/src/lib-imap/imap-match.h Sat Jan 14 19:23:22 2006 +0200 +++ b/src/lib-imap/imap-match.h Sat Jan 14 20:47:20 2006 +0200 @@ -16,7 +16,7 @@ struct imap_match_glob * imap_match_init(pool_t pool, const char *mask, bool inboxcase, char separator); -void imap_match_deinit(struct imap_match_glob *glob); +void imap_match_deinit(struct imap_match_glob **glob); enum imap_match_result imap_match(struct imap_match_glob *glob, const char *data);