Module: kamailio
Branch: master
Commit: 4917045cf2c8a2ab29c82a1b2bb811dc2c645b76
URL:
https://github.com/kamailio/kamailio/commit/4917045cf2c8a2ab29c82a1b2bb811d…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-11-20T13:33:52+01:00
uri_db: add fixup_free* to exported functions
---
Modified: src/modules/uri_db/uri_db.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4917045cf2c8a2ab29c82a1b2bb811d…
Patch:
https://github.com/kamailio/kamailio/commit/4917045cf2c8a2ab29c82a1b2bb811d…
---
diff --git a/src/modules/uri_db/uri_db.c b/src/modules/uri_db/uri_db.c
index 8c4f3e57d8c..e94ae0a269d 100644
--- a/src/modules/uri_db/uri_db.c
+++ b/src/modules/uri_db/uri_db.c
@@ -73,8 +73,8 @@ static int w_check_uri1(struct sip_msg *_m, char *_uri, char *_s);
static cmd_export_t cmds[] = {
{"check_to", (cmd_function)check_to, 0, 0, 0, REQUEST_ROUTE},
{"check_from", (cmd_function)check_from, 0, 0, 0, REQUEST_ROUTE},
- {"check_uri", (cmd_function)w_check_uri1, 1, fixup_spve_null, 0,
REQUEST_ROUTE},
- {"check_uri", (cmd_function)check_uri, 3, fixup_spve_all, 0, REQUEST_ROUTE},
+ {"check_uri", (cmd_function)w_check_uri1, 1, fixup_spve_null,
fixup_free_spve_null, REQUEST_ROUTE},
+ {"check_uri", (cmd_function)check_uri, 3, fixup_spve_all, fixup_free_spve_all,
REQUEST_ROUTE},
{"does_uri_exist", (cmd_function)does_uri_exist, 0, 0, fixup_exist,
REQUEST_ROUTE | LOCAL_ROUTE},
{0, 0, 0, 0, 0, 0}
};