aboutsummaryrefslogtreecommitdiffstats
path: root/src/zunsetup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zunsetup.c')
-rw-r--r--src/zunsetup.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/zunsetup.c b/src/zunsetup.c
new file mode 100644
index 0000000..0f766e1
--- /dev/null
+++ b/src/zunsetup.c
@@ -0,0 +1,14 @@
+/* See LICENSE file for copyright and license details. */
+#include "internals"
+
+
+void
+zunsetup(jmp_buf env)
+{
+ if (libzahl_set_up) {
+ libzahl_set_up = 0;
+#define X(x) zfree(zahl_tmp_##x);
+ LIST_TEMPS;
+#undef X
+ }
+}