summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_finish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6dns/s6dns_finish.c')
-rw-r--r--src/libs6dns/s6dns_finish.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libs6dns/s6dns_finish.c b/src/libs6dns/s6dns_finish.c
new file mode 100644
index 0000000..3520c5d
--- /dev/null
+++ b/src/libs6dns/s6dns_finish.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <s6dns/s6-dns.h>
+
+void s6dns_finish ()
+{
+ s6dns_engine_free(&s6dns_engine_here) ;
+ s6dns_rci_free(&s6dns_rci_here) ;
+}