Module: kamailio
Branch: master
Commit: 28c0e78f8f866c971172d0cdc55cfd963a0d29be
URL: 
https://github.com/kamailio/kamailio/commit/28c0e78f8f866c971172d0cdc55cfd963a0d29be

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2021-08-10T10:36:00+02:00

pv: removed unused code in parsing paramlist transformation name

---

Modified: src/modules/pv/pv_trans.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/28c0e78f8f866c971172d0cdc55cfd963a0d29be.diff
Patch: 
https://github.com/kamailio/kamailio/commit/28c0e78f8f866c971172d0cdc55cfd963a0d29be.patch

---

diff --git a/src/modules/pv/pv_trans.c b/src/modules/pv/pv_trans.c
index 9a9a66bb47..b63ad022f8 100644
--- a/src/modules/pv/pv_trans.c
+++ b/src/modules/pv/pv_trans.c
@@ -3460,8 +3460,6 @@ char* tr_parse_paramlist(str* in, trans_t *t)
        LM_ERR("unknown transformation: %.*s/%.*s!\n",
                        in->len, in->s, name.len, name.s);
 error:
-       if(tp)
-               tr_param_free(tp);
        if(spec)
                pv_spec_free(spec);
        return NULL;


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to