Module: kamailio
Branch: master
Commit: 5a87defebe64c04c3276adb964c31031f64f0717
URL:
https://github.com/kamailio/kamailio/commit/5a87defebe64c04c3276adb964c3103…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-04-26T07:25:59+02:00
core: added helper function to free spve fixup parameters
---
Modified: src/core/mod_fix.c
Modified: src/core/mod_fix.h
---
Diff:
https://github.com/kamailio/kamailio/commit/5a87defebe64c04c3276adb964c3103…
Patch:
https://github.com/kamailio/kamailio/commit/5a87defebe64c04c3276adb964c3103…
---
diff --git a/src/core/mod_fix.c b/src/core/mod_fix.c
index 8951f2a..9fae85b 100644
--- a/src/core/mod_fix.c
+++ b/src/core/mod_fix.c
@@ -579,6 +579,14 @@ int fixup_spve_all(void** param, int param_no)
/**
*
*/
+int fixup_free_spve_all(void** param, int param_no)
+{
+ return fixup_free_spve_null(param, 1);
+}
+
+/**
+ *
+ */
int fixup_igp_all(void** param, int param_no)
{
return fixup_igp_null(param, 1);
diff --git a/src/core/mod_fix.h b/src/core/mod_fix.h
index 13c766a..ee2d1e6 100644
--- a/src/core/mod_fix.h
+++ b/src/core/mod_fix.h
@@ -136,6 +136,7 @@ int fixup_spve_str(void** param, int param_no);
int fixup_free_spve_str(void** param, int param_no);
int fixup_spve_all(void** param, int param_no);
+int fixup_free_spve_all(void** param, int param_no);
int fixup_igp_all(void** param, int param_no);
int fixup_spve_igp(void** param, int param_no);