Module: sip-router
Branch: master
Commit: a1b6093aaee9e96f00475752273c9c925ba390d3
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a1b6093…
Author: Luis Azedo <luis.azedo(a)factorlusitano.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Aug 22 16:05:15 2014 +0200
json: fixed parameter number for free fixup function
---
modules/json/json_mod.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/json/json_mod.c b/modules/json/json_mod.c
index eb668a2..128b45a 100644
--- a/modules/json/json_mod.c
+++ b/modules/json/json_mod.c
@@ -88,7 +88,7 @@ static int fixup_get_field_free(void** param, int param_no)
}
if (param_no == 3) {
- return fixup_free_pvar_null(param, 3);
+ return fixup_free_pvar_null(param, 1);
}
LM_ERR("invalid parameter number <%d>\n", param_no);