Module: kamailio
Branch: master
Commit: 96e98152faf6a47c0380a85b9fc9bd63794bbcc6
URL:
https://github.com/kamailio/kamailio/commit/96e98152faf6a47c0380a85b9fc9bd6…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-11-20T14:41:57+01:00
uid_auth_db: add fixup_free* to exported functions
---
Modified: src/modules/uid_auth_db/uid_auth_db_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/96e98152faf6a47c0380a85b9fc9bd6…
Patch:
https://github.com/kamailio/kamailio/commit/96e98152faf6a47c0380a85b9fc9bd6…
---
diff --git a/src/modules/uid_auth_db/uid_auth_db_mod.c
b/src/modules/uid_auth_db/uid_auth_db_mod.c
index 87842a04506..4bb4caeee63 100644
--- a/src/modules/uid_auth_db/uid_auth_db_mod.c
+++ b/src/modules/uid_auth_db/uid_auth_db_mod.c
@@ -103,10 +103,10 @@ int credentials_n; /* Number of credentials in the list */
* Exported functions
*/
static cmd_export_t cmds[] = {
- {"www_authenticate", www_authenticate, 2, authdb_fixup, 0, REQUEST_ROUTE},
- {"www_authorize", www_authenticate, 2, authdb_fixup, 0, REQUEST_ROUTE},
- {"proxy_authenticate", proxy_authenticate, 2, authdb_fixup, 0,
REQUEST_ROUTE},
- {"proxy_authorize", proxy_authenticate, 2, authdb_fixup, 0, REQUEST_ROUTE},
+ {"www_authenticate", www_authenticate, 2, authdb_fixup, fixup_free_fparam_all,
REQUEST_ROUTE},
+ {"www_authorize", www_authenticate, 2, authdb_fixup, fixup_free_fparam_all,
REQUEST_ROUTE},
+ {"proxy_authenticate", proxy_authenticate, 2, authdb_fixup,
fixup_free_fparam_all, REQUEST_ROUTE},
+ {"proxy_authorize", proxy_authenticate, 2, authdb_fixup,
fixup_free_fparam_all, REQUEST_ROUTE},
{0, 0, 0, 0, 0, 0}
};