Explorar o código

modules/textops: free spve params of in_list function

Juha Heinanen %!s(int64=12) %!d(string=hai) anos
pai
achega
b782945481
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      modules/textops/textops.c

+ 1 - 2
modules/textops/textops.c

@@ -1813,8 +1813,7 @@ static int fixup_in_list(void** param, int param_no)
 static int fixup_free_in_list(void** param, int param_no)
 {
     if ((param_no == 1) || (param_no == 2)) {
- 	LM_WARN("free function has not been defined for spve\n");
- 	return 0;
+	return fixup_free_spve_null(param, 1);
     }
  
     if (param_no == 3) return 0;