[sr-dev] git:master: modules/textops: free spve params of in_list function

Juha Heinanen jh at tutpro.com
Sun Apr 7 19:08:29 CEST 2013


Module: sip-router
Branch: master
Commit: b7829454810379c46ed74ff78dd3e8099ac05fb4
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b7829454810379c46ed74ff78dd3e8099ac05fb4

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Sun Apr  7 20:07:23 2013 +0300

modules/textops: free spve params of in_list function

---

 modules/textops/textops.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/textops/textops.c b/modules/textops/textops.c
index 86e47a8..1085019 100644
--- a/modules/textops/textops.c
+++ b/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;




More information about the sr-dev mailing list