summaryrefslogtreecommitdiff
path: root/src/libs6/s6_accessrules_params_free.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-23 16:07:31 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-23 16:07:31 +0000
commite62d3ae45e9bf3b97551b8879bf6c441ff961ec1 (patch)
tree239987a77426dac08b2877b8e0afab5d4aae6eff /src/libs6/s6_accessrules_params_free.c
parent2c922d2f9870ef174894a6b91399d5cd59318352 (diff)
downloads6-e62d3ae45e9bf3b97551b8879bf6c441ff961ec1.tar.xz
- add s6_accessrules_params_free
- some libfdholder debug
Diffstat (limited to 'src/libs6/s6_accessrules_params_free.c')
-rw-r--r--src/libs6/s6_accessrules_params_free.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libs6/s6_accessrules_params_free.c b/src/libs6/s6_accessrules_params_free.c
new file mode 100644
index 0000000..5eabfde
--- /dev/null
+++ b/src/libs6/s6_accessrules_params_free.c
@@ -0,0 +1,10 @@
+/* ISC license. */
+
+#include <skalibs/stralloc.h>
+#include <s6/accessrules.h>
+
+void s6_accessrules_params_free (s6_accessrules_params_t *params)
+{
+ stralloc_free(&params->env) ;
+ stralloc_free(&params->exec) ;
+}