فهرست منبع

json: fixed parameter number for free fixup function

(cherry picked from commit a1b6093aaee9e96f00475752273c9c925ba390d3)
(cherry picked from commit ad5972f97df4a13a1044dc13e9570c1dd216d30f)
Luis Azedo 11 سال پیش
والد
کامیت
e22c6e5c61
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      modules/json/json_mod.c

+ 1 - 1
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);