Mercurial > dovecot > original-hg > dovecot-1.2
diff src/auth/mech-gssapi.c @ 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 | 395bc6e93222 |
children | 10d1c3301b87 |
line wrap: on
line diff
--- a/src/auth/mech-gssapi.c Sat Jan 14 19:23:22 2006 +0200 +++ b/src/auth/mech-gssapi.c Sat Jan 14 20:47:20 2006 +0200 @@ -115,7 +115,7 @@ GSS_C_NT_HOSTBASED_SERVICE, &gss_principal); - str_free(principal_name); + str_free(&principal_name); if (GSS_ERROR(major_status)) { auth_request_log_gss_error(request, major_status,