From 5a87defebe64c04c3276adb964c31031f64f0717 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 25 Apr 2017 22:08:48 +0200 Subject: [PATCH] core: added helper function to free spve fixup parameters --- src/core/mod_fix.c | 8 ++++++++ src/core/mod_fix.h | 1 + 2 files changed, 9 insertions(+) diff --git a/src/core/mod_fix.c b/src/core/mod_fix.c index 8951f2a9cb3..9fae85bbcf4 100644 --- a/src/core/mod_fix.c +++ b/src/core/mod_fix.c @@ -576,6 +576,14 @@ int fixup_spve_all(void** param, int param_no) return fixup_spve_null(param, 1); } +/** + * + */ +int fixup_free_spve_all(void** param, int param_no) +{ + return fixup_free_spve_null(param, 1); +} + /** * */ diff --git a/src/core/mod_fix.h b/src/core/mod_fix.h index 13c766aaa55..ee2d1e6e077 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);