]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Move mech_generic_auth_free() to sasl-server-mech.c
authorStephan Bosch <stephan.bosch@open-xchange.com>
Thu, 5 Oct 2023 15:59:41 +0000 (17:59 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Thu, 9 Oct 2025 08:41:22 +0000 (08:41 +0000)
src/auth/mech.c
src/auth/sasl-server-mech.c

index e905986c4d0f3d16f8c59a54fbb8772f665eb980..ba048ab14f75f56d698e1fda351a5be684c7c9d2 100644 (file)
@@ -50,11 +50,6 @@ const struct mech_module *mech_module_find(const char *name)
        return NULL;
 }
 
-void mech_generic_auth_free(struct auth_request *request)
-{
-       pool_unref(&request->pool);
-}
-
 extern const struct mech_module mech_plain;
 extern const struct mech_module mech_login;
 extern const struct mech_module mech_apop;
index a01d7faee1901861b4acbdda59d4ef860672e0da..d49afd76c7ad79aa33b2f657c06c36149fa9e225 100644 (file)
@@ -14,3 +14,8 @@ void mech_generic_auth_initial(struct auth_request *request,
                request->mech->auth_continue(request, data, data_size);
        }
 }
+
+void mech_generic_auth_free(struct auth_request *request)
+{
+       pool_unref(&request->pool);
+}