Module: kamailio
Branch: master
Commit: 305dbe7197f87d8e14bb75f14553852c8e3c9b8c
URL:
https://github.com/kamailio/kamailio/commit/305dbe7197f87d8e14bb75f14553852…
Author: Alex Hermann <alex(a)hexla.nl>
Committer: Alex Hermann <alex(a)hexla.nl>
Date: 2017-09-22T11:56:54+02:00
json: Add fixup_free function for json_get_field
---
Modified: src/modules/json/json_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/305dbe7197f87d8e14bb75f14553852…
Patch:
https://github.com/kamailio/kamailio/commit/305dbe7197f87d8e14bb75f14553852…
---
diff --git a/src/modules/json/json_mod.c b/src/modules/json/json_mod.c
index b20299efe9..ec7a5fced3 100644
--- a/src/modules/json/json_mod.c
+++ b/src/modules/json/json_mod.c
@@ -82,7 +82,7 @@ static int fixup_get_field(void** param, int param_no)
static int fixup_get_field_free(void** param, int param_no)
{
if (param_no == 1 || param_no == 2) {
- LM_WARN("free function has not been defined for spve\n");
+ fixup_free_spve_null(param, 1);
return 0;
}